Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001288/0.001288, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.01118/0.01118, allocations: 160 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8585/0.8585, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.22/0.22, allocations: 32.79 MB / 294.2 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 440.8 MB, free: 3.742 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.832e-05, allocations: 5.234 kB / 440.8 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.001934/0.001953, allocations: 1.627 MB / 442.5 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.002994, allocations: 0.5608 MB / 443 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.077e-05/0.003085, allocations: 7.938 kB / 443 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.003192, allocations: 11.88 kB / 443 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.121e-05/0.003233, allocations: 11.86 kB / 443 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.003511, allocations: 86.27 kB / 443.1 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.00365, allocations: 119.7 kB / 443.2 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.003757, allocations: 15.98 kB / 443.3 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.67e-05/0.003844, allocations: 71.8 kB / 443.3 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.0039, allocations: 23.91 kB / 443.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.003927, allocations: 12 kB / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.003938, allocations: 8 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.003962, allocations: 27.91 kB / 443.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.003997, allocations: 23.92 kB / 443.4 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.004132, allocations: 99.61 kB / 443.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004134, allocations: 0 / 443.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004135, allocations: 0 / 443.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.004139, allocations: 0 / 443.5 MB, free: 1.023 MB / 410.7 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.0004846/0.004624, allocations: 350.8 kB / 443.9 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.004659, allocations: 8.031 kB / 443.9 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.0047, allocations: 12.89 kB / 443.9 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.004888, allocations: 149.5 kB / 444 MB, free: 468 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.004903, allocations: 8.359 kB / 444 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.004925, allocations: 12.31 kB / 444.1 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.005102, allocations: 102.2 kB / 444.2 MB, free: 340 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.005111, allocations: 192 / 444.2 MB, free: 340 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.005121, allocations: 384 / 444.2 MB, free: 340 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.005128, allocations: 7.938 kB / 444.2 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.447e-05/0.005223, allocations: 50.5 kB / 444.2 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1657/0.1709, allocations: 307.6 kB / 444.5 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.1712, allocations: 96.81 kB / 444.6 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/0.1712, allocations: 34.48 kB / 444.6 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1712, allocations: 3.891 kB / 444.6 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.1715, allocations: 101.9 kB / 444.7 MB, free: 46.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.845e-06/0.1715, allocations: 0 / 444.7 MB, free: 46.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003291/0.1718, allocations: 147 kB / 444.9 MB, free: 46.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.1718, allocations: 51.41 kB / 444.9 MB, free: 46.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.1719, allocations: 136.4 kB / 445.1 MB, free: 46.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1719, allocations: 27.58 kB / 445.1 MB, free: 46.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.172, allocations: 105.2 kB / 445.2 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.172, allocations: 21.06 kB / 445.2 MB, free: 46.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.172, allocations: 30.09 kB / 445.2 MB, free: 46.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.1721, allocations: 321.6 kB / 445.6 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.1721, allocations: 34.47 kB / 445.6 MB, free: 45.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.705e-05/0.1722, allocations: 55.23 kB / 445.6 MB, free: 45.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1723, allocations: 76.89 kB / 445.7 MB, free: 45.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1723, allocations: 0 / 445.7 MB, free: 45.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001538/0.1725, allocations: 126.1 kB / 445.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1725, allocations: 5.906 kB / 445.9 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1725, allocations: 2.938 kB / 445.9 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1725, allocations: 0 / 445.9 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.1726, allocations: 17.08 kB / 445.9 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1726, allocations: 7.562 kB / 445.9 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.1726, allocations: 19.02 kB / 445.9 MB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1726, allocations: 6.031 kB / 445.9 MB, free: 45.8 MB / 410.7 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 5.878e-05/0.1727, allocations: 118.5 kB / 446 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-06/0.1727, allocations: 6.828 kB / 446 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.1727, allocations: 14.75 kB / 446 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1727, allocations: 6.016 kB / 446 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1727, allocations: 3.938 kB / 446.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1728, allocations: 3.531 kB / 446.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.173, allocations: 321.7 kB / 446.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.173, allocations: 0 / 446.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.1731, allocations: 16.72 kB / 446.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1731, allocations: 3.688 kB / 446.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.1731, allocations: 3.938 kB / 446.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1731, allocations: 2.969 kB / 446.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1731, allocations: 0 / 446.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.1733, allocations: 239.9 kB / 446.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.1733, allocations: 9.641 kB / 446.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1734, allocations: 11.06 kB / 446.7 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.133e-05/0.1734, allocations: 17.39 kB / 446.7 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.1735, allocations: 18.06 kB / 446.7 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.433e-06/0.1735, allocations: 1.812 kB / 446.7 MB, free: 45.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.125e-05/0.1735, allocations: 106.3 kB / 446.8 MB, free: 45.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1735, allocations: 2.719 kB / 446.8 MB, free: 45.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001536/0.1737, allocations: 20.98 kB / 446.8 MB, free: 45.23 MB / 410.7 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 7.531e-05/0.1737, allocations: 93.56 kB / 446.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.1739, allocations: 89.3 kB / 447 MB, free: 45.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1739, allocations: 0 / 447 MB, free: 45.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.987e-05/0.174, allocations: 40.14 kB / 447 MB, free: 45.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.1742, allocations: 26.12 kB / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.1747, allocations: 297.4 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.022e-05/0.1748, allocations: 89.62 kB / 447.4 MB, free: 44.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.1748, allocations: 13.84 kB / 447.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1748, allocations: 0 / 447.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of Templates: time 0.001845/0.1766, allocations: 1.332 MB / 448.8 MB, free: 44.79 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.620000469498336]