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.001635/0.001635, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001916/0.001916, allocations: 215.8 kB / 22.99 MB, free: 4.602 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.662/1.662, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2451/0.2451, allocations: 44.25 MB / 330.3 MB, free: 9.312 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.002537/0.002537, allocations: 81.61 kB / 468 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1436, allocations: 61.03 MB / 0.5166 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.00367/0.1473, allocations: 1.62 MB / 0.5182 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1487, allocations: 0.5697 MB / 0.5188 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1488, allocations: 0 / 0.5188 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.149, allocations: 11.86 kB / 0.5188 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.646e-05/0.149, allocations: 15.81 kB / 0.5188 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.1495, allocations: 99.81 kB / 0.5189 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.1498, allocations: 115.7 kB / 0.519 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.1499, allocations: 27.95 kB / 0.519 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1501, allocations: 43.84 kB / 0.5191 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.1502, allocations: 39.78 kB / 0.5191 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.1502, allocations: 8 kB / 0.5191 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.013e-05/0.1502, allocations: 8 kB / 0.5191 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.1503, allocations: 23.91 kB / 0.5191 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.165e-05/0.1503, allocations: 35.8 kB / 0.5192 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.1505, allocations: 91.62 kB / 0.5193 GB, free: 3.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1505, allocations: 3.938 kB / 0.5193 GB, free: 3.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1505, allocations: 0 / 0.5193 GB, free: 3.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1505, allocations: 0 / 0.5193 GB, free: 3.98 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.0007449/0.1513, allocations: 342.8 kB / 0.5196 GB, free: 3.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1513, allocations: 12.03 kB / 0.5196 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.1514, allocations: 8.891 kB / 0.5196 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.1517, allocations: 158.3 kB / 0.5198 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1517, allocations: 4.375 kB / 0.5198 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.1518, allocations: 12.31 kB / 0.5198 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.1521, allocations: 109.9 kB / 0.5199 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1521, allocations: 3.984 kB / 0.5199 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1521, allocations: 0 / 0.5199 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1521, allocations: 0 / 0.5199 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.1523, allocations: 55.97 kB / 0.5199 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007506/0.1531, allocations: 304.2 kB / 0.5202 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.1534, allocations: 106.4 kB / 0.5203 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1535, allocations: 32.92 kB / 0.5204 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.1536, allocations: 4 kB / 0.5204 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.1538, allocations: 103.3 kB / 0.5205 GB, free: 2.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1538, allocations: 0 / 0.5205 GB, free: 2.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004941/0.1543, allocations: 137.6 kB / 0.5206 GB, free: 2.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.1544, allocations: 59.34 kB / 0.5207 GB, free: 2.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1545, allocations: 141.8 kB / 0.5208 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.1545, allocations: 29.7 kB / 0.5208 GB, free: 2.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.1546, allocations: 100.3 kB / 0.5209 GB, free: 2.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.1546, allocations: 19.94 kB / 0.5209 GB, free: 2.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.1547, allocations: 29.7 kB / 0.521 GB, free: 2.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1548, allocations: 318.8 kB / 0.5213 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.155, allocations: 35.98 kB / 0.5213 GB, free: 1.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1551, allocations: 53.69 kB / 0.5213 GB, free: 1.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.1553, allocations: 77.61 kB / 0.5214 GB, free: 1.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1553, allocations: 4 kB / 0.5214 GB, free: 1.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003035/0.1556, allocations: 121.7 kB / 0.5215 GB, free: 1.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1557, allocations: 11.94 kB / 0.5216 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1557, allocations: 0 / 0.5216 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1557, allocations: 0 / 0.5216 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1558, allocations: 15.98 kB / 0.5216 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1558, allocations: 3.938 kB / 0.5216 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.582e-05/0.1559, allocations: 20.02 kB / 0.5216 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1559, allocations: 0 / 0.5216 GB, free: 1.41 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.0001158/0.156, allocations: 125.8 kB / 0.5217 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.156, allocations: 11.94 kB / 0.5217 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.1561, allocations: 8.719 kB / 0.5217 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1561, allocations: 0 / 0.5217 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1561, allocations: 7.938 kB / 0.5217 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1561, allocations: 0 / 0.5217 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.1566, allocations: 326.1 kB / 0.522 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1566, allocations: 0 / 0.522 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.051e-05/0.1567, allocations: 19.92 kB / 0.5221 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1567, allocations: 0 / 0.5221 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1567, allocations: 3.938 kB / 0.5221 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1567, allocations: 0 / 0.5221 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1567, allocations: 0 / 0.5221 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.1572, allocations: 247.4 kB / 0.5223 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.1572, allocations: 11.98 kB / 0.5223 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.1572, allocations: 3.938 kB / 0.5223 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1574, allocations: 19.97 kB / 0.5223 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.1574, allocations: 20.03 kB / 0.5224 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1574, allocations: 0 / 0.5224 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.299e-05/0.1575, allocations: 103.3 kB / 0.5225 GB, free: 464 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1575, allocations: 3.938 kB / 0.5225 GB, free: 460 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1578, allocations: 15.94 kB / 0.5225 GB, free: 444 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.0001037/0.1579, allocations: 95.25 kB / 0.5226 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.1582, allocations: 83.94 kB / 0.5226 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1582, allocations: 0 / 0.5226 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.1583, allocations: 43.86 kB / 0.5227 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1587, allocations: 20.25 kB / 0.5227 GB, free: 192 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006224/0.1593, allocations: 231 kB / 0.5229 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.826e-05/0.1594, allocations: 85.31 kB / 0.523 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.031e-05/0.1594, allocations: 4.672 kB / 0.523 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.1595, allocations: 11.44 kB / 0.523 GB, free: 15.82 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1595, allocations: 0 / 0.523 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Templates: time 0.00467/0.1641, allocations: 1.337 MB / 0.5243 GB, free: 14.5 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.337997984141111]