Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 106.2 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 191 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 51.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3556, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002957/0.3587, allocations: 1.566 MB / 402.3 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007922/0.3595, allocations: 466.7 kB / 402.7 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.94e-05/0.3596, allocations: 4 kB / 402.8 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.609e-05/0.3596, allocations: 3.938 kB / 402.8 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.3598, allocations: 7.922 kB / 402.8 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.36, allocations: 51.81 kB / 402.8 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.3601, allocations: 39.86 kB / 402.9 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3602, allocations: 8 kB / 402.9 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.444e-05/0.3603, allocations: 27.84 kB / 402.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.3604, allocations: 15.92 kB / 402.9 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.3604, allocations: 4 kB / 402.9 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.3604, allocations: 4 kB / 402.9 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.3605, allocations: 11.94 kB / 402.9 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.3605, allocations: 23.8 kB / 402.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3607, allocations: 51.81 kB / 403 MB, free: 6.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3607, allocations: 0 / 403 MB, free: 6.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3607, allocations: 0 / 403 MB, free: 6.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3607, allocations: 0 / 403 MB, free: 6.594 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000515/0.3612, allocations: 364.3 kB / 403.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3613, allocations: 8.031 kB / 403.4 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.3613, allocations: 8.844 kB / 403.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.3616, allocations: 196.1 kB / 403.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.3616, allocations: 4.375 kB / 403.6 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.3616, allocations: 4.312 kB / 403.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.3619, allocations: 93.42 kB / 403.7 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3619, allocations: 0 / 403.7 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3619, allocations: 0 / 403.7 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3619, allocations: 0 / 403.7 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.362, allocations: 27.92 kB / 403.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.3623, allocations: 257.8 kB / 403.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.342e-05/0.3624, allocations: 49.08 kB / 404 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.3625, allocations: 21.78 kB / 404 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.3625, allocations: 4 kB / 404 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.3625, allocations: 30.56 kB / 404 MB, free: 5.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3625, allocations: 0 / 404 MB, free: 5.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002315/0.3628, allocations: 73.45 kB / 404.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3628, allocations: 77.36 kB / 404.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.363, allocations: 148.2 kB / 404.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.363, allocations: 25.7 kB / 404.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.363, allocations: 92.12 kB / 404.4 MB, free: 4.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.3631, allocations: 4 kB / 404.5 MB, free: 4.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.3631, allocations: 17.62 kB / 404.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.3632, allocations: 322.8 kB / 404.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-05/0.3632, allocations: 4 kB / 404.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.091e-05/0.3633, allocations: 25.7 kB / 404.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.3634, allocations: 29.7 kB / 404.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3634, allocations: 0 / 404.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001046/0.3635, allocations: 53.62 kB / 404.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3635, allocations: 8.125 kB / 404.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3635, allocations: 0 / 404.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3635, allocations: 0 / 404.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/0.3636, allocations: 11.98 kB / 404.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3636, allocations: 0 / 404.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.3637, allocations: 0 / 404.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.3637, allocations: 4 kB / 404.9 MB, free: 4.41 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.256e-05/0.3638, allocations: 121.8 kB / 405 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.3638, allocations: 37.55 kB / 405.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.3639, allocations: 15.91 kB / 405.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3639, allocations: 0 / 405.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.3639, allocations: 8 kB / 405.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3639, allocations: 0 / 405.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.364, allocations: 169.6 kB / 405.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3641, allocations: 0 / 405.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.3641, allocations: 7.984 kB / 405.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3641, allocations: 4 kB / 405.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3641, allocations: 0 / 405.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3641, allocations: 3.938 kB / 405.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3641, allocations: 4 kB / 405.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.3643, allocations: 172.2 kB / 405.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.3644, allocations: 89 kB / 405.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.3644, allocations: 0 / 405.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.3645, allocations: 4 kB / 405.5 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.3645, allocations: 0 / 405.5 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.3645, allocations: 4.031 kB / 405.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.815e-05/0.3646, allocations: 107.2 kB / 405.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3646, allocations: 0 / 405.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.3648, allocations: 4 kB / 405.7 MB, free: 3.566 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001013/0.3649, allocations: 115.9 kB / 405.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.365, allocations: 19.92 kB / 405.8 MB, free: 3.426 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.3651, allocations: 8.125 kB / 405.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.528e-05/0.3651, allocations: 7.984 kB / 405.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.3654, allocations: 19.09 kB / 405.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.3658, allocations: 155.6 kB / 406 MB, free: 3.215 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.366, allocations: 0.6922 MB / 406.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.126e-05/0.366, allocations: 8.156 kB / 406.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.3661, allocations: 7.438 kB / 406.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of SimCode: time 1.8e-07/0.3661, allocations: 0 / 406.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of Templates: time 0.002697/0.3688, allocations: 476.3 kB / 407.1 MB, free: 2.016 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches