Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001467/0.001467, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001343/0.001343, allocations: 166.9 kB / 24.82 MB, free: 9.273 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 1.101/1.101, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.3034/0.3034, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.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.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_4.1.0_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_4.1.0_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 378.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.499e-05, allocations: 2.312 kB / 378.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.01076/0.01079, allocations: 3.269 MB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005743/0.01653, allocations: 1.468 MB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003962/0.01693, allocations: 39.69 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.01722, allocations: 114.7 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005076/0.01773, allocations: 170.4 kB / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.01889, allocations: 0.6395 MB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004139/0.02303, allocations: 0.9521 MB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/0.02346, allocations: 205 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007558/0.02422, allocations: 0.5104 MB / 385.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/0.02456, allocations: 263.1 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.02467, allocations: 75.98 kB / 386.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.0248, allocations: 76 kB / 386.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.02493, allocations: 179.2 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003228/0.02816, allocations: 231.2 kB / 386.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006995/0.02886, allocations: 0.5835 MB / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.02886, allocations: 0 / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.02886, allocations: 4 kB / 387.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.02887, allocations: 0 / 387.2 MB, free: 9.594 MB / 362.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.00169/0.03056, allocations: 1.188 MB / 388.4 MB, free: 8.367 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.03061, allocations: 8.031 kB / 388.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/0.03306, allocations: 172.3 kB / 388.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008369/0.03389, allocations: 0.5618 MB / 389.2 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.03395, allocations: 41.31 kB / 389.2 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.03406, allocations: 56.33 kB / 389.3 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.03516, allocations: 0.7831 MB / 390.1 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.03519, allocations: 4.125 kB / 390.1 MB, free: 6.586 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.03524, allocations: 16.38 kB / 390.1 MB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.03526, allocations: 15.94 kB / 390.1 MB, free: 6.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.03564, allocations: 174.7 kB / 390.3 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.03839, allocations: 2.295 MB / 392.6 MB, free: 4.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/0.03905, allocations: 314.6 kB / 392.9 MB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.03925, allocations: 112 kB / 393 MB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/0.0393, allocations: 12.36 kB / 393 MB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.03934, allocations: 41.77 kB / 393 MB, free: 3.504 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 3.476e-06/0.03934, allocations: 0 / 393 MB, free: 3.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.001639/0.04098, allocations: 0.7533 MB / 393.8 MB, free: 2.715 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.04112, allocations: 239.8 kB / 394 MB, free: 2.426 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005831/0.04171, allocations: 0.5733 MB / 394.6 MB, free: 1.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.04175, allocations: 37.7 kB / 394.6 MB, free: 1.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.04208, allocations: 415.8 kB / 395 MB, free: 1.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.04224, allocations: 194.3 kB / 395.2 MB, free: 1.188 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.04242, allocations: 111.9 kB / 395.3 MB, free: 1.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.04261, allocations: 0.4964 MB / 395.8 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.04279, allocations: 86.25 kB / 395.9 MB, free: 488 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.04318, allocations: 412.1 kB / 396.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.04362, allocations: 278.7 kB / 396.6 MB, free: 15.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.04362, allocations: 4 kB / 396.6 MB, free: 15.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007022/0.04432, allocations: 408.8 kB / 397 MB, free: 15.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.04434, allocations: 8 kB / 397 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.04435, allocations: 0 / 397 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.04437, allocations: 4 kB / 397 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000685/0.04505, allocations: 172 kB / 397.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.04507, allocations: 4 kB / 397.2 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.04538, allocations: 51.95 kB / 397.2 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.04543, allocations: 19.98 kB / 397.2 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000276/0.0457, allocations: 200.1 kB / 397.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003372/0.04604, allocations: 415.5 kB / 397.8 MB, free: 14.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003727/0.04641, allocations: 279.8 kB / 398.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/0.04642, allocations: 4 kB / 398.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0006059/0.04702, allocations: 388.8 kB / 398.5 MB, free: 13.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.04703, allocations: 8 kB / 398.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.04704, allocations: 0 / 398.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.04705, allocations: 11.94 kB / 398.5 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.04763, allocations: 148.1 kB / 398.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.04764, allocations: 11.94 kB / 398.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.04794, allocations: 43.97 kB / 398.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.04797, allocations: 16.27 kB / 398.7 MB, free: 13.32 MB / 378.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 (limIntegrator1.local_reset,limIntegrator2.local_reset,PID1.I.local_reset,PID2.I.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.0001912/0.04816, allocations: 303.9 kB / 399 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.04831, allocations: 99.52 kB / 399.1 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.04844, allocations: 79.28 kB / 399.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.04845, allocations: 8 kB / 399.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.04845, allocations: 0 / 399.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.04846, allocations: 3.984 kB / 399.2 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.0499, allocations: 0.8708 MB / 400.1 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.04991, allocations: 4 kB / 400.1 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.05023, allocations: 123.9 kB / 400.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.05023, allocations: 4 kB / 400.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.05026, allocations: 15.98 kB / 400.2 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.05027, allocations: 7.938 kB / 400.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.05027, allocations: 0 / 400.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.05091, allocations: 0.7066 MB / 400.9 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.05105, allocations: 111.5 kB / 401.1 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.0511, allocations: 24.06 kB / 401.1 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.05132, allocations: 47.95 kB / 401.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/0.05139, allocations: 51.91 kB / 401.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.05141, allocations: 12 kB / 401.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002079/0.05162, allocations: 370.8 kB / 401.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05162, allocations: 0 / 401.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004047/0.05203, allocations: 180 kB / 401.7 MB, free: 10.26 MB / 378.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.0001169/0.05214, allocations: 115.1 kB / 401.8 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.05265, allocations: 431.6 kB / 402.3 MB, free: 9.707 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.05265, allocations: 0 / 402.3 MB, free: 9.707 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.05282, allocations: 152.7 kB / 402.4 MB, free: 9.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005972/0.05341, allocations: 226 kB / 402.6 MB, free: 9.352 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.05485, allocations: 1.16 MB / 403.8 MB, free: 8.137 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.105e-05/0.05494, allocations: 142.5 kB / 403.9 MB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002376/0.05518, allocations: 92.8 kB / 404 MB, free: 7.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003828/0.05556, allocations: 258 kB / 404.3 MB, free: 7.629 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.05556, allocations: 0 / 404.3 MB, free: 7.629 MB / 378.7 MB Notification: Performance of Templates: time 0.01247/0.06803, allocations: 10.2 MB / 414.5 MB, free: 13.63 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.5795230832882226]