Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009476/0.0009476, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001024/0.001024, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.9786/0.9786, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2598/0.2598, allocations: 32.8 MB / 294.6 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 323.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.545e-05, allocations: 3.188 kB / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003097/0.003113, allocations: 3.283 MB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.004954, allocations: 1.515 MB / 328 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.005175, allocations: 35.69 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.005373, allocations: 114.6 kB / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.00571, allocations: 174.4 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006589/0.006369, allocations: 0.6357 MB / 329 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006055/0.006974, allocations: 0.9521 MB / 329.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.007243, allocations: 210.9 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004352/0.007678, allocations: 0.5104 MB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.007896, allocations: 275 kB / 330.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.021e-05/0.007966, allocations: 72 kB / 331 MB, free: 1.926 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.65e-05/0.008053, allocations: 79.98 kB / 331 MB, free: 1.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.401e-05/0.008147, allocations: 183.3 kB / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.008276, allocations: 219.3 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.00872, allocations: 0.5874 MB / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.008722, allocations: 0 / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.008723, allocations: 0 / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.008729, allocations: 0 / 332 MB, free: 0.8594 MB / 298.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.001042/0.009771, allocations: 1.061 MB / 333.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.0098, allocations: 8.031 kB / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.01006, allocations: 136.8 kB / 333.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.01053, allocations: 497.8 kB / 333.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.01057, allocations: 37.38 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.01063, allocations: 60.38 kB / 333.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/0.01124, allocations: 0.7505 MB / 334.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.01125, allocations: 4.188 kB / 334.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.01128, allocations: 20.38 kB / 334.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.01129, allocations: 15.94 kB / 334.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.01149, allocations: 142.8 kB / 334.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.0129, allocations: 1.586 MB / 336.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.01327, allocations: 281.9 kB / 336.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.01338, allocations: 90.44 kB / 336.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.01341, allocations: 16.38 kB / 336.7 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.01344, allocations: 38.94 kB / 336.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 1.723e-06/0.01344, allocations: 0 / 336.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0009453/0.01438, allocations: 0.6711 MB / 337.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.161e-05/0.01448, allocations: 243.8 kB / 337.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.01478, allocations: 0.5156 MB / 338.2 MB, free: 10.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.01482, allocations: 41.64 kB / 338.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.01495, allocations: 271 kB / 338.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.659e-05/0.01504, allocations: 182.4 kB / 338.6 MB, free: 9.875 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.01515, allocations: 110.2 kB / 338.8 MB, free: 9.762 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.138e-05/0.01524, allocations: 333.8 kB / 339.1 MB, free: 9.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.01534, allocations: 67.45 kB / 339.1 MB, free: 9.359 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.01556, allocations: 342.9 kB / 339.5 MB, free: 8.941 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.01581, allocations: 254.5 kB / 339.7 MB, free: 8.664 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.01581, allocations: 4 kB / 339.7 MB, free: 8.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000333/0.01615, allocations: 306.3 kB / 340 MB, free: 8.352 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.01616, allocations: 4 kB / 340 MB, free: 8.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.01617, allocations: 4 kB / 340 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.01618, allocations: 4 kB / 340 MB, free: 8.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.01659, allocations: 167.7 kB / 340.2 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.01659, allocations: 8.219 kB / 340.2 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.01678, allocations: 55.95 kB / 340.3 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.0168, allocations: 15.98 kB / 340.3 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001534/0.01695, allocations: 141.4 kB / 340.4 MB, free: 7.953 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002054/0.01716, allocations: 357.5 kB / 340.8 MB, free: 7.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002218/0.01738, allocations: 253.9 kB / 341 MB, free: 7.234 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-06/0.01738, allocations: 0 / 341 MB, free: 7.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0003009/0.01768, allocations: 302.2 kB / 341.3 MB, free: 6.934 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.252e-06/0.01769, allocations: 4 kB / 341.3 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.01769, allocations: 4 kB / 341.3 MB, free: 6.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-06/0.0177, allocations: 4 kB / 341.3 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.01804, allocations: 147.8 kB / 341.5 MB, free: 6.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.01805, allocations: 12.3 kB / 341.5 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.01821, allocations: 43.97 kB / 341.5 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.01824, allocations: 16 kB / 341.5 MB, free: 6.707 MB / 314.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.0001199/0.01836, allocations: 224.9 kB / 341.8 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.01843, allocations: 59.94 kB / 341.8 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.743e-05/0.01853, allocations: 79.28 kB / 341.9 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01853, allocations: 4 kB / 341.9 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.01853, allocations: 4 kB / 341.9 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.01854, allocations: 8.047 kB / 341.9 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007956/0.01933, allocations: 0.6553 MB / 342.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01934, allocations: 0 / 342.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.01962, allocations: 119.8 kB / 342.7 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.01962, allocations: 4.062 kB / 342.7 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.01965, allocations: 19.98 kB / 342.7 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.01965, allocations: 7.938 kB / 342.7 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01966, allocations: 3.938 kB / 342.7 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.02012, allocations: 0.5222 MB / 343.2 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.02023, allocations: 75.5 kB / 343.3 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.02027, allocations: 15.94 kB / 343.3 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.02048, allocations: 55.95 kB / 343.4 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/0.02055, allocations: 47.91 kB / 343.4 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.87e-05/0.02057, allocations: 12.08 kB / 343.4 MB, free: 4.738 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001604/0.02073, allocations: 244.6 kB / 343.7 MB, free: 4.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02073, allocations: 3.938 kB / 343.7 MB, free: 4.496 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.02106, allocations: 180 kB / 343.9 MB, free: 4.32 MB / 314.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 9.689e-05/0.02116, allocations: 96.34 kB / 344 MB, free: 4.215 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004254/0.02158, allocations: 397.2 kB / 344.3 MB, free: 3.824 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.02159, allocations: 8 kB / 344.4 MB, free: 3.816 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.02173, allocations: 142.7 kB / 344.5 MB, free: 3.676 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.02224, allocations: 227.2 kB / 344.7 MB, free: 3.477 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.02348, allocations: 1.151 MB / 345.9 MB, free: 2.273 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.647e-05/0.02356, allocations: 142.5 kB / 346 MB, free: 2.113 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000226/0.02379, allocations: 105 kB / 346.1 MB, free: 2.008 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.02414, allocations: 213.2 kB / 346.3 MB, free: 1.797 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.02414, allocations: 0 / 346.3 MB, free: 1.797 MB / 314.7 MB Notification: Performance of Templates: time 0.01124/0.03537, allocations: 10.04 MB / 356.4 MB, free: 7.984 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.124682788271457]