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.001436/0.001436, 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.001597/0.001597, 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.9838/0.9838, 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.2529/0.2529, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.993e-06/1.993e-06, allocations: 0 / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.485e-05, allocations: 5.578 kB / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002215/0.00224, allocations: 1.76 MB / 325 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009185/0.003158, allocations: 0.6466 MB / 325.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.003238, allocations: 3.938 kB / 325.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.003271, allocations: 11.81 kB / 325.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.003378, allocations: 27.8 kB / 325.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.003709, allocations: 155.5 kB / 325.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.003876, allocations: 160.3 kB / 326 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.003973, allocations: 21.95 kB / 326 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.004139, allocations: 95.84 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.153e-05/0.004221, allocations: 51.75 kB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.004242, allocations: 16 kB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.454e-05/0.004296, allocations: 20 kB / 326.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.004322, allocations: 35.89 kB / 326.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.004353, allocations: 39.91 kB / 326.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.004493, allocations: 119.5 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004495, allocations: 0 / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004496, allocations: 0 / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.0045, allocations: 0 / 326.4 MB, free: 6.516 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.0003618/0.004862, allocations: 341.5 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.004894, allocations: 8.031 kB / 326.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.005, allocations: 32.91 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.005174, allocations: 156 kB / 326.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.005189, allocations: 8.375 kB / 326.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.005211, allocations: 12.38 kB / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.005436, allocations: 300.6 kB / 327.2 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.005444, allocations: 192 / 327.2 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.005454, allocations: 384 / 327.2 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.00546, allocations: 11.94 kB / 327.2 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.573e-05/0.005506, allocations: 23.89 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.00589, allocations: 268.5 kB / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.006007, allocations: 70.41 kB / 327.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.006034, allocations: 21.02 kB / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.006052, allocations: 7.984 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.006072, allocations: 34.56 kB / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.006073, allocations: 0 / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003975/0.006471, allocations: 249.1 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.006508, allocations: 102.8 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.171e-05/0.00658, allocations: 142.6 kB / 328.1 MB, free: 4.559 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.006594, allocations: 29.7 kB / 328.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.006627, allocations: 96.06 kB / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.006653, allocations: 39.67 kB / 328.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.006698, allocations: 29.7 kB / 328.3 MB, free: 4.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.006774, allocations: 330.7 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.006801, allocations: 16.86 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.953e-05/0.006851, allocations: 81.97 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.096e-05/0.006902, allocations: 44.75 kB / 328.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.006902, allocations: 0 / 328.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.411e-05/0.006987, allocations: 73.61 kB / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.006998, allocations: 8 kB / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.007002, allocations: 0 / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.007011, allocations: 0 / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.007099, allocations: 32 kB / 328.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.007102, allocations: 0 / 328.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.007148, allocations: 15.98 kB / 328.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.007154, allocations: 0 / 328.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.22e-05/0.007196, allocations: 96.12 kB / 329 MB, free: 3.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.004e-05/0.007236, allocations: 82.34 kB / 329.1 MB, free: 3.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 3.683e-05/0.007273, allocations: 36.89 kB / 329.1 MB, free: 3.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.007274, allocations: 3.938 kB / 329.1 MB, free: 3.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 6.158e-05/0.007336, allocations: 65.61 kB / 329.2 MB, free: 3.406 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.919e-06/0.007341, allocations: 4.031 kB / 329.2 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-06/0.007342, allocations: 4 kB / 329.2 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-06/0.007343, allocations: 0 / 329.2 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.386e-05/0.007387, allocations: 23.98 kB / 329.2 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-06/0.007389, allocations: 4 kB / 329.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.403e-05/0.007423, allocations: 7.984 kB / 329.2 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.007426, allocations: 7.938 kB / 329.3 MB, free: 3.355 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.563e-05/0.007492, allocations: 188.2 kB / 329.4 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.007513, allocations: 7.984 kB / 329.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.00755, allocations: 20.78 kB / 329.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.007552, allocations: 0 / 329.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.007554, allocations: 4 kB / 329.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.007558, allocations: 7.922 kB / 329.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.007858, allocations: 259.5 kB / 329.7 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.007862, allocations: 7.984 kB / 329.7 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.338e-05/0.007936, allocations: 31.97 kB / 329.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007937, allocations: 0 / 329.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.007945, allocations: 0 / 329.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007946, allocations: 32 / 329.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007947, allocations: 4 kB / 329.8 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.008324, allocations: 196.2 kB / 330 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.008336, allocations: 11.94 kB / 330 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.008349, allocations: 0 / 330 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.008453, allocations: 27.97 kB / 330 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.008481, allocations: 11.98 kB / 330 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.008489, allocations: 4.031 kB / 330 MB, free: 2.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.52e-05/0.008514, allocations: 43.86 kB / 330.1 MB, free: 2.492 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008514, allocations: 0 / 330.1 MB, free: 2.492 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001547/0.008669, allocations: 35.94 kB / 330.1 MB, free: 2.457 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 7.797e-05/0.008747, allocations: 80.3 kB / 330.2 MB, free: 2.371 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.008859, allocations: 77.61 kB / 330.2 MB, free: 2.289 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.008861, allocations: 0 / 330.2 MB, free: 2.289 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.38e-05/0.008895, allocations: 29.42 kB / 330.3 MB, free: 2.258 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.009081, allocations: 44.97 kB / 330.3 MB, free: 2.215 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.009507, allocations: 249.9 kB / 330.6 MB, free: 1.938 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.068e-05/0.009548, allocations: 63.84 kB / 330.6 MB, free: 1.855 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.032e-05/0.009608, allocations: 16.48 kB / 330.6 MB, free: 1.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.009747, allocations: 99.31 kB / 330.7 MB, free: 1.742 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009748, allocations: 0 / 330.7 MB, free: 1.742 MB / 298.7 MB Notification: Performance of Templates: time 0.003984/0.01373, allocations: 2.63 MB / 333.4 MB, free: 15.19 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 -s gbode -gbm=radauIIA3 -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: 2.92207958875224]