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.0009679/0.0009679, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001139/0.001139, allocations: 169 kB / 24.91 MB, free: 8.723 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.9385/0.9385, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1404/0.1404, allocations: 34.26 MB / 296.1 MB, free: 13.99 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.633e-06/1.633e-06, allocations: 0 / 325.3 MB, free: 0.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.745e-05, allocations: 4.844 kB / 325.3 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002256/0.002274, allocations: 1.708 MB / 327 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007648/0.003038, allocations: 0.588 MB / 327.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.00311, allocations: 8 kB / 327.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.825e-05/0.003208, allocations: 7.875 kB / 327.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.352e-05/0.003252, allocations: 11.86 kB / 327.6 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.003517, allocations: 91.7 kB / 327.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.003645, allocations: 115.7 kB / 327.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.994e-05/0.003735, allocations: 19.97 kB / 327.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/0.003825, allocations: 71.86 kB / 327.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.176e-05/0.003877, allocations: 23.91 kB / 327.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.003904, allocations: 15.98 kB / 327.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.003916, allocations: 8 kB / 327.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.003937, allocations: 19.92 kB / 328 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.003965, allocations: 27.92 kB / 328 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.004076, allocations: 75.66 kB / 328.1 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.004079, allocations: 0 / 328.1 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00408, allocations: 0 / 328.1 MB, free: 13.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.004084, allocations: 3.938 kB / 328.1 MB, free: 13.94 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.000331/0.004415, allocations: 304.5 kB / 328.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.004446, allocations: 8.031 kB / 328.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.004474, allocations: 16.92 kB / 328.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.004605, allocations: 137.7 kB / 328.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.004619, allocations: 8.312 kB / 328.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.004643, allocations: 12.38 kB / 328.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.004763, allocations: 82.91 kB / 328.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.004771, allocations: 4.188 kB / 328.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.00478, allocations: 8.375 kB / 328.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.004785, allocations: 7.938 kB / 328.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.015e-05/0.004815, allocations: 15.66 kB / 328.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.005109, allocations: 231.9 kB / 328.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.555e-05/0.005184, allocations: 38.56 kB / 328.9 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.005203, allocations: 12.86 kB / 328.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.005211, allocations: 4 kB / 328.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.98e-05/0.005301, allocations: 75.3 kB / 329 MB, free: 12.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.005302, allocations: 0 / 329 MB, free: 12.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001097/0.005412, allocations: 61.67 kB / 329.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.00544, allocations: 51.41 kB / 329.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.388e-05/0.005504, allocations: 138.6 kB / 329.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.005516, allocations: 25.7 kB / 329.3 MB, free: 12.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.005554, allocations: 104.3 kB / 329.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.005572, allocations: 15.89 kB / 329.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.005603, allocations: 33.62 kB / 329.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.215e-05/0.005675, allocations: 330.8 kB / 329.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.005689, allocations: 4 kB / 329.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/0.005711, allocations: 21.72 kB / 329.8 MB, free: 12.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.911e-05/0.00575, allocations: 41.73 kB / 329.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.005752, allocations: 4 kB / 329.8 MB, free: 12.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.082e-05/0.005823, allocations: 61.62 kB / 329.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.005833, allocations: 7.984 kB / 329.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.005837, allocations: 0 / 329.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.005846, allocations: 4.031 kB / 329.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.005902, allocations: 12 kB / 329.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.005905, allocations: 7.938 kB / 329.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.005935, allocations: 7.984 kB / 329.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.005941, allocations: 8 kB / 329.9 MB, free: 11.9 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,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 5.279e-05/0.005994, allocations: 109.8 kB / 330 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.006004, allocations: 11.98 kB / 330.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.006026, allocations: 12.78 kB / 330.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.006028, allocations: 0 / 330.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.00603, allocations: 11.94 kB / 330.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.006033, allocations: 0 / 330.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.006198, allocations: 226.6 kB / 330.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.006199, allocations: 0 / 330.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.006237, allocations: 15.98 kB / 330.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.006239, allocations: 0 / 330.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.006244, allocations: 0 / 330.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006246, allocations: 4.391 kB / 330.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006247, allocations: 3.938 kB / 330.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.006357, allocations: 171.4 kB / 330.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.006366, allocations: 11.94 kB / 330.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.006378, allocations: 4 kB / 330.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.006424, allocations: 8 kB / 330.5 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.006465, allocations: 19.95 kB / 330.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.006469, allocations: 0 / 330.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.955e-05/0.006488, allocations: 24.83 kB / 330.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006488, allocations: 0 / 330.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001192/0.006607, allocations: 16 kB / 330.6 MB, free: 11.21 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,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 5.957e-05/0.006667, allocations: 84.44 kB / 330.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.003e-05/0.006737, allocations: 44.72 kB / 330.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.006739, allocations: 0 / 330.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.243e-05/0.006772, allocations: 20.8 kB / 330.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.006919, allocations: 23.5 kB / 330.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.007293, allocations: 232.4 kB / 331 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.262e-05/0.007326, allocations: 63.34 kB / 331 MB, free: 10.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.647e-05/0.007352, allocations: 8.719 kB / 331 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.007405, allocations: 67.31 kB / 331.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007405, allocations: 0 / 331.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of Templates: time 0.002628/0.01003, allocations: 1.33 MB / 332.4 MB, free: 9.309 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 -s gbode -gbm=radauIIA3 -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.9497369728051126]