Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002327/0.002327, allocations: 107.3 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003537/0.003537, allocations: 191.2 kB / 22.98 MB, free: 5.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2573/0.2573, allocations: 44.23 MB / 330.2 MB, free: 9.562 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 75.83 kB / 467.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1424, allocations: 61.03 MB / 0.5166 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003634/0.146, allocations: 1.643 MB / 0.5182 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1472, allocations: 0.6125 MB / 0.5188 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.1474, allocations: 4 kB / 0.5188 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.1475, allocations: 19.8 kB / 0.5188 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.1476, allocations: 15.8 kB / 0.5188 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.148, allocations: 95.81 kB / 0.5189 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1482, allocations: 115.7 kB / 0.519 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1483, allocations: 23.97 kB / 0.519 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.655e-05/0.1484, allocations: 51.86 kB / 0.5191 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.875e-05/0.1485, allocations: 43.81 kB / 0.5191 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.1485, allocations: 8 kB / 0.5191 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.1485, allocations: 8 kB / 0.5191 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.557e-05/0.1486, allocations: 19.92 kB / 0.5192 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.705e-05/0.1486, allocations: 47.67 kB / 0.5192 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1488, allocations: 83.64 kB / 0.5193 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1488, allocations: 0 / 0.5193 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1488, allocations: 0 / 0.5193 GB, free: 4.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1488, allocations: 0 / 0.5193 GB, free: 4.086 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007098/0.1495, allocations: 354.8 kB / 0.5196 GB, free: 3.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1496, allocations: 8.031 kB / 0.5196 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.1496, allocations: 8.891 kB / 0.5196 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.1499, allocations: 150.3 kB / 0.5198 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.15, allocations: 8.375 kB / 0.5198 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.15, allocations: 4.375 kB / 0.5198 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.1503, allocations: 109.9 kB / 0.5199 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1503, allocations: 0 / 0.5199 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.1503, allocations: 4 kB / 0.5199 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1503, allocations: 0 / 0.5199 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1505, allocations: 51.97 kB / 0.52 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007678/0.1513, allocations: 355.6 kB / 0.5203 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.1517, allocations: 110.5 kB / 0.5204 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.1518, allocations: 32.89 kB / 0.5204 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.1518, allocations: 0 / 0.5204 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/0.1521, allocations: 95.36 kB / 0.5205 GB, free: 2.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.552e-06/0.1521, allocations: 0 / 0.5205 GB, free: 2.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005355/0.1526, allocations: 145.6 kB / 0.5207 GB, free: 2.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.1527, allocations: 59.28 kB / 0.5207 GB, free: 2.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1529, allocations: 153.8 kB / 0.5209 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.1529, allocations: 29.7 kB / 0.5209 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.153, allocations: 108 kB / 0.521 GB, free: 2.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.153, allocations: 19.8 kB / 0.521 GB, free: 2.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.1531, allocations: 25.7 kB / 0.521 GB, free: 2.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1532, allocations: 322.8 kB / 0.5213 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1534, allocations: 35.97 kB / 0.5214 GB, free: 1.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1535, allocations: 49.69 kB / 0.5214 GB, free: 1.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.1538, allocations: 77.62 kB / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1538, allocations: 4 kB / 0.5215 GB, free: 1.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003418/0.1541, allocations: 121.5 kB / 0.5216 GB, free: 1.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.1541, allocations: 15.97 kB / 0.5216 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1541, allocations: 0 / 0.5216 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.1542, allocations: 0 / 0.5216 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1543, allocations: 15.98 kB / 0.5217 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1543, allocations: 0 / 0.5217 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.1544, allocations: 24.02 kB / 0.5217 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1544, allocations: 0 / 0.5217 GB, free: 1.438 MB / 398.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: 7 ($whenCondition1,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,change.u,$PRE.change.u,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001314/0.1545, allocations: 125.8 kB / 0.5218 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.1546, allocations: 15.89 kB / 0.5218 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.1546, allocations: 12.7 kB / 0.5218 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1546, allocations: 0 / 0.5218 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1546, allocations: 4.281 kB / 0.5218 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1546, allocations: 0 / 0.5218 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006045/0.1552, allocations: 361.5 kB / 0.5222 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1552, allocations: 3.938 kB / 0.5222 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.1553, allocations: 15.92 kB / 0.5222 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1553, allocations: 0 / 0.5222 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.1554, allocations: 4 kB / 0.5222 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1554, allocations: 4 kB / 0.5222 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1554, allocations: 0 / 0.5222 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.1559, allocations: 247.3 kB / 0.5224 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.1559, allocations: 15.95 kB / 0.5224 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1559, allocations: 0 / 0.5224 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.1561, allocations: 20.05 kB / 0.5225 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.1562, allocations: 19.91 kB / 0.5225 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.1562, allocations: 4 kB / 0.5225 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.961e-05/0.1563, allocations: 116 kB / 0.5226 GB, free: 420 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1563, allocations: 0 / 0.5226 GB, free: 420 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1565, allocations: 12 kB / 0.5226 GB, free: 408 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (integrator.reset,$whenCondition2,$whenCondition1,change.u,booleanPulse.pulseStart) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001181/0.1566, allocations: 99.19 kB / 0.5227 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.157, allocations: 83.89 kB / 0.5228 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.157, allocations: 0 / 0.5228 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.1572, allocations: 43.91 kB / 0.5228 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1575, allocations: 17.14 kB / 0.5228 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.1582, allocations: 231 kB / 0.5231 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.1586, allocations: 0.6963 MB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.287e-05/0.1586, allocations: 16.48 kB / 0.5238 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.1587, allocations: 11.44 kB / 0.5238 GB, free: 15.15 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1587, allocations: 0 / 0.5238 GB, free: 15.15 MB / 414.1 MB Notification: Performance of Templates: time 0.005153/0.1638, allocations: 1.306 MB / 0.525 GB, free: 13.85 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.788512071594596]