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.001496/0.001496, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001915/0.001915, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.64/1.64, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2436/0.2436, allocations: 46.95 MB / 360.9 MB, free: 4.129 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.00208/0.00208, allocations: 63.84 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4287, allocations: 66.04 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.00343/0.4321, allocations: 1.617 MB / 0.5626 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.4334, allocations: 0.5582 MB / 0.5632 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.4335, allocations: 7.938 kB / 0.5632 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.4337, allocations: 11.86 kB / 0.5632 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.92e-05/0.4337, allocations: 7.875 kB / 0.5632 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.4342, allocations: 103.7 kB / 0.5633 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.4344, allocations: 107.8 kB / 0.5634 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.4345, allocations: 31.62 kB / 0.5635 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.4346, allocations: 51.77 kB / 0.5635 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.863e-05/0.4347, allocations: 35.78 kB / 0.5635 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.4347, allocations: 12 kB / 0.5635 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.313e-05/0.4347, allocations: 8 kB / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.484e-05/0.4348, allocations: 15.92 kB / 0.5636 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.4348, allocations: 31.86 kB / 0.5636 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.435, allocations: 90.31 kB / 0.5637 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.435, allocations: 0 / 0.5637 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.435, allocations: 0 / 0.5637 GB, free: 1.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.435, allocations: 0 / 0.5637 GB, free: 1.473 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.0007214/0.4357, allocations: 354.8 kB / 0.564 GB, free: 1.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.4358, allocations: 8.031 kB / 0.564 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.4358, allocations: 12.89 kB / 0.564 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.4361, allocations: 146.3 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.4361, allocations: 8.375 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.4362, allocations: 12.31 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.4365, allocations: 109.9 kB / 0.5643 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4365, allocations: 0 / 0.5643 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4365, allocations: 0 / 0.5643 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4365, allocations: 4 kB / 0.5643 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.4367, allocations: 54.86 kB / 0.5644 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.4373, allocations: 316.3 kB / 0.5647 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.4377, allocations: 98.45 kB / 0.5648 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.4378, allocations: 36.92 kB / 0.5648 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.4378, allocations: 0 / 0.5648 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/0.4381, allocations: 103.3 kB / 0.5649 GB, free: 124 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.4381, allocations: 0 / 0.5649 GB, free: 124 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004972/0.4386, allocations: 137.5 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.4386, allocations: 63.38 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.4388, allocations: 134 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.4388, allocations: 25.7 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.4389, allocations: 100.3 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.4389, allocations: 23.92 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.439, allocations: 29.72 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.4392, allocations: 322.8 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.4393, allocations: 31.97 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.4394, allocations: 49.69 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.4397, allocations: 77.62 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4397, allocations: 3.938 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003012/0.44, allocations: 121.7 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.44, allocations: 7.984 kB / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.44, allocations: 4.031 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.44, allocations: 4 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.4401, allocations: 15.94 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.4401, allocations: 7.922 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-05/0.4402, allocations: 19.98 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.4402, allocations: 4 kB / 0.566 GB, free: 14.88 MB / 414.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.0001154/0.4403, allocations: 113.8 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.4404, allocations: 11.95 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.4404, allocations: 16.72 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4404, allocations: 0 / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.4404, allocations: 3.938 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4404, allocations: 3.984 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.441, allocations: 326.1 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.441, allocations: 0 / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/0.4411, allocations: 15.98 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4411, allocations: 0 / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.4411, allocations: 3.938 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4411, allocations: 4 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4411, allocations: 0 / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.4416, allocations: 251.3 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.4416, allocations: 7.984 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.4416, allocations: 3.938 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.4417, allocations: 19.98 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.4418, allocations: 11.97 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.4418, allocations: 4 kB / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.569e-05/0.4419, allocations: 102.1 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4419, allocations: 64 / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.4421, allocations: 27.94 kB / 0.5669 GB, free: 13.91 MB / 414.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.000112/0.4422, allocations: 95.23 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.4425, allocations: 83.81 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4425, allocations: 0 / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.4427, allocations: 48.5 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.4431, allocations: 19.08 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009796/0.444, allocations: 274.6 kB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.77e-05/0.4441, allocations: 85.25 kB / 0.5675 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.541e-05/0.4442, allocations: 4.672 kB / 0.5675 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.4442, allocations: 15.44 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4442, allocations: 4 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of Templates: time 0.004639/0.4488, allocations: 1.276 MB / 0.5688 GB, free: 11.98 MB / 414.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.435284348204732]