Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.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.001376/0.001376, 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.001165/0.001165, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.9977/0.9977, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2747/0.2747, allocations: 32.81 MB / 294.6 MB, free: 1.23 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.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 3.938 kB / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.745e-05, allocations: 5.438 kB / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001988/0.002006, allocations: 1.698 MB / 324.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.002972, allocations: 0.6504 MB / 325.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.003042, allocations: 4 kB / 325.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.003073, allocations: 11.81 kB / 325.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.268e-05/0.003165, allocations: 23.73 kB / 325.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.003506, allocations: 155.6 kB / 325.7 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.003681, allocations: 160.3 kB / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.071e-05/0.003771, allocations: 18.58 kB / 325.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.003926, allocations: 103.8 kB / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.466e-05/0.004011, allocations: 47.8 kB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.004034, allocations: 12 kB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.483e-05/0.004079, allocations: 20 kB / 326.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.004104, allocations: 31.89 kB / 326.1 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.004137, allocations: 43.91 kB / 326.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.004276, allocations: 119.5 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004278, allocations: 0 / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.004279, allocations: 0 / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.004282, allocations: 0 / 326.3 MB, free: 6.613 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003626/0.004644, allocations: 341.5 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.004671, allocations: 12.03 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.004774, allocations: 28.91 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.004934, allocations: 160.8 kB / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.004952, allocations: 8.375 kB / 326.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.004977, allocations: 12.38 kB / 326.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.005201, allocations: 292.6 kB / 327.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.00521, allocations: 4.125 kB / 327.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.005223, allocations: 4.375 kB / 327.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.00523, allocations: 3.938 kB / 327.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.359e-05/0.005273, allocations: 31.89 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.005651, allocations: 263.9 kB / 327.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.005765, allocations: 82.45 kB / 327.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.005788, allocations: 16.86 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.005803, allocations: 0 / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.005821, allocations: 38.72 kB / 327.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 3.216e-06/0.005824, allocations: 4 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003676/0.006192, allocations: 241.7 kB / 327.8 MB, free: 4.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.006237, allocations: 106.8 kB / 327.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/0.006306, allocations: 142.6 kB / 328 MB, free: 4.652 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.006321, allocations: 25.7 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.006357, allocations: 104.1 kB / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.006381, allocations: 35.67 kB / 328.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.006416, allocations: 25.7 kB / 328.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.006508, allocations: 330.7 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.006531, allocations: 16.86 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.885e-05/0.00658, allocations: 93.91 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.775e-05/0.006628, allocations: 40.81 kB / 328.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.006629, allocations: 0 / 328.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.42e-05/0.006703, allocations: 69.61 kB / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.006711, allocations: 4 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.006714, allocations: 0 / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.006724, allocations: 0 / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.006805, allocations: 31.97 kB / 328.8 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.006808, allocations: 0 / 328.8 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.006852, allocations: 20.02 kB / 328.8 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.006859, allocations: 4 kB / 328.8 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.948e-05/0.006898, allocations: 88.12 kB / 328.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.701e-05/0.006935, allocations: 82.3 kB / 329 MB, free: 3.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.859e-05/0.006964, allocations: 36.94 kB / 329 MB, free: 3.578 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.233e-06/0.006965, allocations: 3.938 kB / 329 MB, free: 3.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 5.236e-05/0.007017, allocations: 69.61 kB / 329.1 MB, free: 3.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-06/0.007022, allocations: 4 kB / 329.1 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.22e-07/0.007023, allocations: 0 / 329.1 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-06/0.007024, allocations: 4 kB / 329.1 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.455e-05/0.007059, allocations: 20.02 kB / 329.1 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-06/0.00706, allocations: 4 kB / 329.1 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/0.007091, allocations: 7.984 kB / 329.1 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-06/0.007094, allocations: 7.938 kB / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.797e-05/0.007162, allocations: 192.1 kB / 329.3 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.007181, allocations: 7.984 kB / 329.3 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.007216, allocations: 16.78 kB / 329.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.007217, allocations: 0 / 329.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.00722, allocations: 4 kB / 329.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.007222, allocations: 4 kB / 329.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.007482, allocations: 267.5 kB / 329.6 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007483, allocations: 0 / 329.6 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.407e-05/0.007547, allocations: 23.98 kB / 329.7 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007549, allocations: 4 kB / 329.7 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.007556, allocations: 0 / 329.7 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.007559, allocations: 4 kB / 329.7 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.00756, allocations: 3.984 kB / 329.7 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.007707, allocations: 196.3 kB / 329.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.007718, allocations: 11.98 kB / 329.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.007731, allocations: 0 / 329.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.007833, allocations: 31.97 kB / 329.9 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.007862, allocations: 11.92 kB / 329.9 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.007869, allocations: 3.984 kB / 329.9 MB, free: 2.633 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.681e-05/0.007896, allocations: 39.06 kB / 330 MB, free: 2.594 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007896, allocations: 0 / 330 MB, free: 2.594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.008046, allocations: 39.94 kB / 330 MB, free: 2.555 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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 6.96e-05/0.008116, allocations: 80.34 kB / 330.1 MB, free: 2.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.008234, allocations: 73.62 kB / 330.1 MB, free: 2.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.008237, allocations: 0 / 330.1 MB, free: 2.391 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.008267, allocations: 28.78 kB / 330.2 MB, free: 2.359 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.008446, allocations: 45.59 kB / 330.2 MB, free: 2.316 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.008847, allocations: 257.9 kB / 330.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.603e-05/0.008883, allocations: 63.84 kB / 330.5 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.183e-05/0.008934, allocations: 20.42 kB / 330.6 MB, free: 1.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.009066, allocations: 99.31 kB / 330.6 MB, free: 1.832 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009067, allocations: 0 / 330.6 MB, free: 1.832 MB / 298.7 MB Notification: Performance of Templates: time 0.003827/0.01289, allocations: 2.626 MB / 333.3 MB, free: 15.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.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.0099153290502727]