Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.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.001668/0.001668, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001326/0.001326, allocations: 169 kB / 23.8 MB, free: 0.7734 MB / 18.57 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 1.027/1.027, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.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.1473/0.1473, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5093,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5093,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.296e-05, allocations: 6.25 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.007877/0.00791, allocations: 3.354 MB / 351 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.01133, allocations: 1.442 MB / 352.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007395/0.01207, allocations: 39.62 kB / 352.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.01241, allocations: 110.7 kB / 352.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007639/0.01317, allocations: 178.4 kB / 352.8 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.01444, allocations: 0.6083 MB / 353.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.01563, allocations: 0.9715 MB / 354.4 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004733/0.01611, allocations: 201 kB / 354.6 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008793/0.01699, allocations: 0.5066 MB / 355.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003901/0.01738, allocations: 275 kB / 355.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.01751, allocations: 80 kB / 355.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.921e-05/0.0176, allocations: 72 kB / 355.5 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.01771, allocations: 175.3 kB / 355.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.01792, allocations: 231.2 kB / 355.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006944/0.01861, allocations: 0.5757 MB / 356.4 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.01862, allocations: 4 kB / 356.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01862, allocations: 0 / 356.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.01864, allocations: 0 / 356.5 MB, free: 0.5977 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001945/0.02059, allocations: 1.188 MB / 357.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.02064, allocations: 8.031 kB / 357.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.0209, allocations: 136.3 kB / 357.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009073/0.0218, allocations: 0.5851 MB / 358.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.02186, allocations: 37.38 kB / 358.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.02197, allocations: 56.33 kB / 358.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.02314, allocations: 0.7298 MB / 359.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.02316, allocations: 4.125 kB / 359.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.83e-05/0.02322, allocations: 28.38 kB / 359.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.02324, allocations: 19.88 kB / 359.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005533/0.0238, allocations: 205.7 kB / 359.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.0267, allocations: 2.392 MB / 361.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008067/0.0275, allocations: 335.6 kB / 362.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.02777, allocations: 127.8 kB / 362.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.02782, allocations: 16.36 kB / 362.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.02785, allocations: 41.77 kB / 362.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.02786, allocations: 0 / 362.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.002128/0.02998, allocations: 1.043 MB / 363.4 MB, free: 9.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/0.03007, allocations: 188.4 kB / 363.6 MB, free: 9.109 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00067/0.03074, allocations: 0.5893 MB / 364.2 MB, free: 8.504 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.03079, allocations: 33.7 kB / 364.2 MB, free: 8.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.03109, allocations: 420 kB / 364.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.03123, allocations: 190.4 kB / 364.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.03143, allocations: 115.9 kB / 364.9 MB, free: 7.742 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.03161, allocations: 0.4964 MB / 365.4 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.03189, allocations: 110.2 kB / 365.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.03231, allocations: 345.4 kB / 365.8 MB, free: 6.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.03286, allocations: 314.7 kB / 366.1 MB, free: 6.355 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.03286, allocations: 0 / 366.1 MB, free: 6.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008648/0.03372, allocations: 448.8 kB / 366.6 MB, free: 5.906 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.03375, allocations: 8 kB / 366.6 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.03375, allocations: 256 / 366.6 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.03377, allocations: 8 kB / 366.6 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007626/0.03453, allocations: 167.8 kB / 366.8 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.03455, allocations: 7.984 kB / 366.8 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.03489, allocations: 51.95 kB / 366.8 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.03494, allocations: 27.94 kB / 366.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003457/0.03529, allocations: 216.1 kB / 367.1 MB, free: 5.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003882/0.03567, allocations: 360.7 kB / 367.4 MB, free: 4.984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000496/0.03617, allocations: 307.8 kB / 367.7 MB, free: 4.633 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.03617, allocations: 4 kB / 367.7 MB, free: 4.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0007584/0.03693, allocations: 424.8 kB / 368.1 MB, free: 4.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.03694, allocations: 12.31 kB / 368.1 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.03695, allocations: 7.984 kB / 368.2 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.03696, allocations: 8 kB / 368.2 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.03755, allocations: 143.8 kB / 368.3 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.03756, allocations: 11.92 kB / 368.3 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.03787, allocations: 47.95 kB / 368.4 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.03791, allocations: 20 kB / 368.4 MB, free: 3.961 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0001923/0.0381, allocations: 311.8 kB / 368.7 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.03824, allocations: 91.48 kB / 368.8 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.03837, allocations: 87.42 kB / 368.9 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.03837, allocations: 4 kB / 368.9 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.03838, allocations: 0 / 368.9 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.03839, allocations: 4 kB / 368.9 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.03988, allocations: 0.9814 MB / 369.8 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.03989, allocations: 0 / 369.8 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.0403, allocations: 127.8 kB / 370 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.0403, allocations: 3.938 kB / 370 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.04033, allocations: 15.98 kB / 370 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.04033, allocations: 0 / 370 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.04034, allocations: 4 kB / 370 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007051/0.04104, allocations: 0.7536 MB / 370.8 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.04118, allocations: 123.3 kB / 370.9 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.04123, allocations: 15.98 kB / 370.9 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.04146, allocations: 47.95 kB / 370.9 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.905e-05/0.04155, allocations: 43.92 kB / 371 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.04157, allocations: 19.98 kB / 371 MB, free: 1.246 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002727/0.04185, allocations: 391 kB / 371.4 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04185, allocations: 0 / 371.4 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004333/0.04228, allocations: 184 kB / 371.6 MB, free: 0.6914 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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 Backend phase and start with SimCode phase: time 0.0001326/0.04241, allocations: 115.1 kB / 371.7 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006911/0.0431, allocations: 487.7 kB / 372.1 MB, free: 92 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.04311, allocations: 0 / 372.1 MB, free: 92 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.04332, allocations: 164.4 kB / 372.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.04394, allocations: 228.4 kB / 372.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.04586, allocations: 1.273 MB / 373.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.04602, allocations: 146.6 kB / 373.9 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00029/0.04631, allocations: 96.81 kB / 374 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.04646, allocations: 64.48 kB / 374.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.04646, allocations: 0 / 374.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of Templates: time 0.0142/0.06066, allocations: 10.11 MB / 384.2 MB, free: 4.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.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: 3.568806495051831]