Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001773/0.001773, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002174/0.002174, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.598/1.598, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2427/0.2427, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.91 kB / 0.4914 GB, free: 7.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1407, allocations: 66 MB / 0.5559 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003312/0.1441, allocations: 1.636 MB / 0.5574 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1452, allocations: 0.5938 MB / 0.558 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.685e-05/0.1453, allocations: 3.938 kB / 0.558 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.1454, allocations: 15.86 kB / 0.558 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.1455, allocations: 11.88 kB / 0.5581 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.1459, allocations: 87.75 kB / 0.5581 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1461, allocations: 107.8 kB / 0.5582 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.1462, allocations: 39.97 kB / 0.5583 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.735e-05/0.1463, allocations: 55.77 kB / 0.5583 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.368e-05/0.1464, allocations: 35.83 kB / 0.5584 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1464, allocations: 8 kB / 0.5584 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.619e-05/0.1464, allocations: 8 kB / 0.5584 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.1465, allocations: 23.92 kB / 0.5584 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.928e-05/0.1465, allocations: 39.73 kB / 0.5584 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.1467, allocations: 91.56 kB / 0.5585 GB, free: 2.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1467, allocations: 0 / 0.5585 GB, free: 2.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1467, allocations: 0 / 0.5585 GB, free: 2.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1467, allocations: 0 / 0.5585 GB, free: 2.625 MB / 414.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.0007625/0.1475, allocations: 411.1 kB / 0.5589 GB, free: 2.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1475, allocations: 15.97 kB / 0.5589 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.1476, allocations: 8.891 kB / 0.5589 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1479, allocations: 208.1 kB / 0.5591 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1479, allocations: 12.38 kB / 0.5592 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.1479, allocations: 8.375 kB / 0.5592 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.1482, allocations: 97.95 kB / 0.5593 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1482, allocations: 0 / 0.5593 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1482, allocations: 8 kB / 0.5593 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1482, allocations: 0 / 0.5593 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.1484, allocations: 62.14 kB / 0.5593 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000723/0.1491, allocations: 384.5 kB / 0.5597 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.1495, allocations: 98.52 kB / 0.5598 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.1496, allocations: 36.91 kB / 0.5598 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.1496, allocations: 0 / 0.5598 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.1499, allocations: 103.3 kB / 0.5599 GB, free: 1.039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1499, allocations: 0 / 0.5599 GB, free: 1.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004875/0.1504, allocations: 145.5 kB / 0.5601 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.1504, allocations: 55.34 kB / 0.5601 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1505, allocations: 149.8 kB / 0.5603 GB, free: 0.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1506, allocations: 33.7 kB / 0.5603 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.1506, allocations: 100.1 kB / 0.5604 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.1507, allocations: 23.84 kB / 0.5604 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.1507, allocations: 21.72 kB / 0.5604 GB, free: 488 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1508, allocations: 326.8 kB / 0.5607 GB, free: 152 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.151, allocations: 35.97 kB / 0.5608 GB, free: 116 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.1511, allocations: 49.69 kB / 0.5608 GB, free: 60 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.1513, allocations: 77.62 kB / 0.5609 GB, free: 15.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1513, allocations: 0 / 0.5609 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000299/0.1516, allocations: 117.6 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1517, allocations: 11.92 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1517, allocations: 4 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1517, allocations: 0 / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1518, allocations: 19.94 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.1518, allocations: 4.297 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.1519, allocations: 28.33 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1519, allocations: 0 / 0.5611 GB, free: 15.79 MB / 430.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,change.u,$PRE.change.u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$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 9.676e-05/0.152, allocations: 117.8 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.152, allocations: 23.78 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.1521, allocations: 12.72 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1521, allocations: 0 / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1521, allocations: 4 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1521, allocations: 3.984 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.1526, allocations: 398.4 kB / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1526, allocations: 0 / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-05/0.1527, allocations: 11.98 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1527, allocations: 0 / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1527, allocations: 0 / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1527, allocations: 0 / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1527, allocations: 4 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.1532, allocations: 247.3 kB / 0.5619 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.1533, allocations: 96.97 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.1533, allocations: 4.062 kB / 0.562 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1534, allocations: 19.98 kB / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.1535, allocations: 11.98 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.1535, allocations: 7.984 kB / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.497e-05/0.1536, allocations: 110.3 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1536, allocations: 0 / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.1538, allocations: 16 kB / 0.5621 GB, free: 14.62 MB / 430.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,booleanPulse.pulseStart,change.u) * 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.0001159/0.1539, allocations: 99.23 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.1543, allocations: 87.83 kB / 0.5623 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1543, allocations: 0 / 0.5623 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.1544, allocations: 39.95 kB / 0.5623 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.1547, allocations: 20.06 kB / 0.5623 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1558, allocations: 274.3 kB / 0.5626 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.1561, allocations: 0.6963 MB / 0.5633 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.597e-05/0.1562, allocations: 4.562 kB / 0.5633 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.1562, allocations: 15.44 kB / 0.5633 GB, free: 13.34 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1562, allocations: 0 / 0.5633 GB, free: 13.34 MB / 430.1 MB Notification: Performance of Templates: time 0.004619/0.1609, allocations: 1.254 MB / 0.5645 GB, free: 12.09 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.3728475123643875]