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.001427/0.001427, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001618/0.001618, allocations: 167.3 kB / 25.61 MB, free: 8.527 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.8725/0.8725, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1352/0.1352, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.7 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 1.673e-06/1.673e-06, allocations: 3.938 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.361e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.001768/0.001791, allocations: 1.657 MB / 380.9 MB, free: 21.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007192/0.00251, allocations: 0.5646 MB / 381.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.002601, allocations: 0 / 381.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.002713, allocations: 19.8 kB / 381.5 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.088e-05/0.002754, allocations: 19.81 kB / 381.5 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.00298, allocations: 83.75 kB / 381.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.003083, allocations: 115.7 kB / 381.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.221e-05/0.003165, allocations: 19.98 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.134e-05/0.003236, allocations: 67.81 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.064e-05/0.003287, allocations: 31.83 kB / 381.8 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.003304, allocations: 8 kB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.003314, allocations: 8 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.003334, allocations: 23.91 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.003361, allocations: 31.92 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.152e-05/0.003452, allocations: 63.73 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003454, allocations: 0 / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003455, allocations: 0 / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.003459, allocations: 4 kB / 382 MB, free: 20.68 MB / 314.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.0003152/0.003774, allocations: 443.9 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.003802, allocations: 8.031 kB / 382.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.00383, allocations: 16.84 kB / 382.4 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.003937, allocations: 148.4 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.003952, allocations: 8.375 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.003967, allocations: 12.38 kB / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.00408, allocations: 85.86 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-06/0.004085, allocations: 192 / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.004097, allocations: 12.38 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.004102, allocations: 3.938 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.351e-05/0.004136, allocations: 19.92 kB / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.004435, allocations: 332.1 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.128e-05/0.004516, allocations: 58.95 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.004533, allocations: 23.66 kB / 383.1 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.00454, allocations: 0 / 383.1 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.596e-05/0.004616, allocations: 77.05 kB / 383.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.004617, allocations: 4 kB / 383.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001223/0.004739, allocations: 77.58 kB / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.004758, allocations: 51.41 kB / 383.3 MB, free: 19.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.542e-05/0.004803, allocations: 189.9 kB / 383.5 MB, free: 18.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.004811, allocations: 25.7 kB / 383.5 MB, free: 18.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.00484, allocations: 155.1 kB / 383.7 MB, free: 18.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.004856, allocations: 19.88 kB / 383.7 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.004882, allocations: 31.36 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.00492, allocations: 0.4961 MB / 384.2 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.004934, allocations: 7.984 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-05/0.004955, allocations: 35.38 kB / 384.3 MB, free: 18.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.115e-05/0.004987, allocations: 43.28 kB / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004988, allocations: 0 / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.614e-05/0.005054, allocations: 73.77 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.005063, allocations: 4 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.005067, allocations: 0 / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/0.005075, allocations: 0 / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.451e-05/0.005129, allocations: 19.92 kB / 384.4 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.005132, allocations: 4.031 kB / 384.4 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.507e-05/0.005167, allocations: 15.95 kB / 384.4 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.005171, allocations: 0 / 384.4 MB, free: 18 MB / 314.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 4.172e-05/0.005212, allocations: 164.5 kB / 384.6 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.005223, allocations: 11.95 kB / 384.6 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.005243, allocations: 12.77 kB / 384.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005245, allocations: 0 / 384.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.005246, allocations: 0 / 384.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.005249, allocations: 4 kB / 384.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.005409, allocations: 321.9 kB / 384.9 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005409, allocations: 0 / 384.9 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.005445, allocations: 4 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.005446, allocations: 4 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.005453, allocations: 7.922 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005454, allocations: 0 / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005455, allocations: 0 / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.792e-05/0.005553, allocations: 235.7 kB / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.00556, allocations: 7.953 kB / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.005572, allocations: 12 kB / 385.2 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.084e-05/0.005623, allocations: 16.02 kB / 385.2 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.005655, allocations: 11.98 kB / 385.2 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.00566, allocations: 3.984 kB / 385.2 MB, free: 17.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.197e-05/0.005682, allocations: 141.1 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005682, allocations: 0 / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.005826, allocations: 19.95 kB / 385.4 MB, free: 16.98 MB / 314.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 4.664e-05/0.005873, allocations: 95.19 kB / 385.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.607e-05/0.005939, allocations: 43.64 kB / 385.5 MB, free: 16.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-06/0.00594, allocations: 4.062 kB / 385.5 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.00597, allocations: 31.67 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.00616, allocations: 15.98 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.006506, allocations: 239.9 kB / 385.8 MB, free: 16.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.131e-05/0.006528, allocations: 68.34 kB / 385.9 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.563e-05/0.006553, allocations: 8.719 kB / 385.9 MB, free: 16.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.006599, allocations: 82.19 kB / 386 MB, free: 16.34 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0066, allocations: 0 / 386 MB, free: 16.34 MB / 314.7 MB Notification: Performance of Templates: time 0.002401/0.009001, allocations: 1.408 MB / 387.4 MB, free: 14.95 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7955466471612453]