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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 206.4 kB / 23.74 MB, free: 4.543 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.604/1.604, allocations: 207.7 MB / 234.6 MB, free: 9.785 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.2493/0.2493, allocations: 44.28 MB / 331.1 MB, free: 9.301 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 67.91 kB / 468.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1369, allocations: 61.05 MB / 0.5174 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003807/0.1407, allocations: 1.604 MB / 0.5189 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1421, allocations: 0.5697 MB / 0.5195 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1423, allocations: 4 kB / 0.5195 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.1424, allocations: 7.875 kB / 0.5195 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.126e-05/0.1425, allocations: 23.84 kB / 0.5195 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.1429, allocations: 95.77 kB / 0.5196 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.1432, allocations: 119.7 kB / 0.5197 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1433, allocations: 23.97 kB / 0.5198 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1435, allocations: 43.86 kB / 0.5198 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.1435, allocations: 47.69 kB / 0.5198 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.1436, allocations: 8 kB / 0.5199 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.916e-05/0.1436, allocations: 8 kB / 0.5199 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.1436, allocations: 23.92 kB / 0.5199 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.1437, allocations: 31.86 kB / 0.5199 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1439, allocations: 91.58 kB / 0.52 GB, free: 3.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1439, allocations: 0 / 0.52 GB, free: 3.953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1439, allocations: 0 / 0.52 GB, free: 3.953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1439, allocations: 0 / 0.52 GB, free: 3.953 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.000871/0.1448, allocations: 346.8 kB / 0.5203 GB, free: 3.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1448, allocations: 8.031 kB / 0.5203 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.991e-05/0.1449, allocations: 20.83 kB / 0.5204 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.1452, allocations: 142.3 kB / 0.5205 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1453, allocations: 12.31 kB / 0.5205 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.1453, allocations: 8.375 kB / 0.5205 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.1456, allocations: 105.9 kB / 0.5206 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1456, allocations: 0 / 0.5206 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1456, allocations: 0 / 0.5206 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1456, allocations: 8 kB / 0.5206 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.1458, allocations: 47.97 kB / 0.5207 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007105/0.1465, allocations: 316.2 kB / 0.521 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.1469, allocations: 98.52 kB / 0.5211 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.147, allocations: 28.92 kB / 0.5211 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.147, allocations: 7.984 kB / 0.5211 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.1473, allocations: 103.3 kB / 0.5212 GB, free: 2.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.684e-06/0.1473, allocations: 0 / 0.5212 GB, free: 2.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004837/0.1478, allocations: 141.6 kB / 0.5213 GB, free: 2.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.1479, allocations: 55.41 kB / 0.5214 GB, free: 2.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.148, allocations: 137.8 kB / 0.5215 GB, free: 2.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.148, allocations: 25.7 kB / 0.5215 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/0.1481, allocations: 104.3 kB / 0.5216 GB, free: 2.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.115e-05/0.1481, allocations: 27.88 kB / 0.5217 GB, free: 2.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.1482, allocations: 25.72 kB / 0.5217 GB, free: 2.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1484, allocations: 322.8 kB / 0.522 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.1485, allocations: 31.97 kB / 0.522 GB, free: 1.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.1486, allocations: 53.69 kB / 0.5221 GB, free: 1.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.1489, allocations: 77.75 kB / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1489, allocations: 0 / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000307/0.1492, allocations: 125.5 kB / 0.5223 GB, free: 1.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1492, allocations: 4 kB / 0.5223 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1492, allocations: 0 / 0.5223 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1492, allocations: 4 kB / 0.5223 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1493, allocations: 15.98 kB / 0.5223 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.1493, allocations: 3.938 kB / 0.5223 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.1495, allocations: 23.95 kB / 0.5223 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1495, allocations: 4 kB / 0.5223 GB, free: 1.383 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.0001107/0.1496, allocations: 121.8 kB / 0.5224 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.1496, allocations: 7.953 kB / 0.5225 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.1497, allocations: 16.72 kB / 0.5225 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1497, allocations: 0 / 0.5225 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.1497, allocations: 7.938 kB / 0.5225 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1497, allocations: 3.984 kB / 0.5225 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.1502, allocations: 326.2 kB / 0.5228 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1502, allocations: 0 / 0.5228 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-05/0.1503, allocations: 11.98 kB / 0.5228 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1503, allocations: 3.938 kB / 0.5228 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1503, allocations: 3.938 kB / 0.5228 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.1503, allocations: 4 kB / 0.5228 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1503, allocations: 4 kB / 0.5228 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.1508, allocations: 239.4 kB / 0.523 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.1508, allocations: 7.984 kB / 0.5231 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.1509, allocations: 3.938 kB / 0.5231 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.151, allocations: 24.05 kB / 0.5231 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.1511, allocations: 11.97 kB / 0.5231 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1511, allocations: 4.094 kB / 0.5231 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.307e-05/0.1512, allocations: 103.2 kB / 0.5232 GB, free: 440 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1512, allocations: 0 / 0.5232 GB, free: 440 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1514, allocations: 23.94 kB / 0.5232 GB, free: 416 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.0001083/0.1515, allocations: 99.17 kB / 0.5233 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.1518, allocations: 75.95 kB / 0.5234 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.1518, allocations: 4 kB / 0.5234 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.152, allocations: 43.91 kB / 0.5234 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.1523, allocations: 15.98 kB / 0.5234 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.1529, allocations: 256.8 kB / 0.5237 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.738e-05/0.153, allocations: 85.31 kB / 0.5238 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.1531, allocations: 11.44 kB / 0.5238 GB, free: 15.77 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1531, allocations: 3.938 kB / 0.5238 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Templates: time 0.003562/0.1567, allocations: 1.334 MB / 0.5251 GB, free: 14.43 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins1/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: 7.589595428202301]