Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008072/0.0008072, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.001908, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0007392/0.0007392, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009832/0.001722, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8476/0.8476, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1677/1.015, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1217/0.1217, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02134/0.143, allocations: 12.31 MB / 266.1 MB, free: 3.879 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.719e-05, allocations: 10.19 kB / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002383/0.0024, allocations: 1.698 MB / 269.1 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008199/0.00322, allocations: 0.5967 MB / 269.7 MB, free: 248 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.003291, allocations: 7.938 kB / 269.7 MB, free: 240 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.074e-05/0.003352, allocations: 11.81 kB / 269.7 MB, free: 228 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.519e-05/0.003397, allocations: 15.84 kB / 269.7 MB, free: 212 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.003643, allocations: 91.7 kB / 269.8 MB, free: 120 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.003788, allocations: 111.7 kB / 269.9 MB, free: 8 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.003897, allocations: 27.91 kB / 269.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.004018, allocations: 75.86 kB / 270 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.004083, allocations: 31.91 kB / 270 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.004106, allocations: 8 kB / 270.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.004123, allocations: 8 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.004148, allocations: 11.94 kB / 270.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.004184, allocations: 23.94 kB / 270.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.004305, allocations: 59.75 kB / 270.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.004315, allocations: 0 / 270.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004316, allocations: 7.938 kB / 270.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.004325, allocations: 0 / 270.2 MB, free: 15.76 MB / 282.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.0004483/0.004773, allocations: 332.1 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.004802, allocations: 8.031 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.00484, allocations: 12.92 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.004998, allocations: 141.6 kB / 270.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.005015, allocations: 4.375 kB / 270.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.005039, allocations: 12.38 kB / 270.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.005194, allocations: 86.84 kB / 270.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.005201, allocations: 4.188 kB / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.005211, allocations: 4.375 kB / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.005219, allocations: 7.938 kB / 270.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.68e-05/0.005256, allocations: 15.98 kB / 270.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.005607, allocations: 224 kB / 271 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.00571, allocations: 42.55 kB / 271 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.00573, allocations: 16.86 kB / 271.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.005739, allocations: 0 / 271.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.005855, allocations: 75.34 kB / 271.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.113e-06/0.005856, allocations: 3.938 kB / 271.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001335/0.00599, allocations: 57.69 kB / 271.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.006024, allocations: 55.39 kB / 271.2 MB, free: 14.56 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.006102, allocations: 142.6 kB / 271.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.006117, allocations: 25.7 kB / 271.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.00616, allocations: 100.3 kB / 271.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.006183, allocations: 27.91 kB / 271.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.006223, allocations: 25.7 kB / 271.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.166e-05/0.006305, allocations: 326.8 kB / 271.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.006324, allocations: 4 kB / 271.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.006354, allocations: 29.64 kB / 271.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.205e-05/0.006406, allocations: 33.81 kB / 271.9 MB, free: 13.81 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.006408, allocations: 0 / 271.9 MB, free: 13.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.471e-05/0.006502, allocations: 69.61 kB / 272 MB, free: 13.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.006515, allocations: 8.031 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.006519, allocations: 0 / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.00653, allocations: 0 / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.343e-05/0.006604, allocations: 19.92 kB / 272 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.006607, allocations: 8 kB / 272 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.828e-05/0.006646, allocations: 4 kB / 272.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.006653, allocations: 8 kB / 272.1 MB, free: 13.69 MB / 282.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 6.498e-05/0.006718, allocations: 113.8 kB / 272.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.006732, allocations: 7.984 kB / 272.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.006759, allocations: 16.78 kB / 272.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.006762, allocations: 4 kB / 272.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006763, allocations: 0 / 272.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.006768, allocations: 3.984 kB / 272.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.00699, allocations: 222.6 kB / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006991, allocations: 0 / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.007045, allocations: 12 kB / 272.4 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.007057, allocations: 11.89 kB / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007058, allocations: 0 / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.007066, allocations: 0 / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007067, allocations: 4 kB / 272.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.007069, allocations: 7.984 kB / 272.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.007206, allocations: 167.4 kB / 272.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.007219, allocations: 0 / 272.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.00729, allocations: 11.98 kB / 272.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.007337, allocations: 19.95 kB / 272.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.007343, allocations: 3.938 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.844e-05/0.007371, allocations: 24.83 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007371, allocations: 0 / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.007556, allocations: 24.03 kB / 272.7 MB, free: 13 MB / 282.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 8.158e-05/0.007637, allocations: 72.42 kB / 272.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.195e-05/0.007729, allocations: 44.72 kB / 272.8 MB, free: 12.87 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.007734, allocations: 4 kB / 272.8 MB, free: 12.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.591e-05/0.00778, allocations: 24.83 kB / 272.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.008012, allocations: 105.1 kB / 272.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/0.008586, allocations: 227.4 kB / 273.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.582e-05/0.008632, allocations: 63.33 kB / 273.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.416e-05/0.008666, allocations: 4.734 kB / 273.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.008732, allocations: 59.38 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.008733, allocations: 0 / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of Templates: time 0.003415/0.01215, allocations: 1.401 MB / 274.7 MB, free: 10.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.565383495762944]