Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.003427/0.003427, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.00156/0.00156, allocations: 169 kB / 24.14 MB, free: 368 kB / 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 0.9678/0.9678, allocations: 158.6 MB / 186 MB, free: 2.766 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.1463/0.1463, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.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_3.2.3_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_3.2.3_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.571e-05, allocations: 2.312 kB / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.00205/0.002065, allocations: 1.737 MB / 300.8 MB, free: 432 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1355/0.1376, allocations: 0.6373 MB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.1377, allocations: 4.75 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.246e-05/0.1378, allocations: 13.78 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.1379, allocations: 21.77 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.1383, allocations: 139.6 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.1385, allocations: 160.4 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.1386, allocations: 25.38 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.1387, allocations: 100.3 kB / 301.9 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.1388, allocations: 47.77 kB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.1388, allocations: 13.09 kB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/0.1389, allocations: 13.88 kB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.1389, allocations: 38.52 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.1389, allocations: 41.31 kB / 302.1 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1391, allocations: 115.6 kB / 302.2 MB, free: 19.19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.1391, allocations: 0 / 302.2 MB, free: 19.19 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1391, allocations: 1.344 kB / 302.2 MB, free: 19.19 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1391, allocations: 0.7812 kB / 302.2 MB, free: 19.19 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003571/0.1394, allocations: 343.9 kB / 302.5 MB, free: 18.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1395, allocations: 10.58 kB / 302.5 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.1395, allocations: 19.02 kB / 302.6 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.1397, allocations: 168.5 kB / 302.7 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1397, allocations: 8.281 kB / 302.7 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1397, allocations: 15.41 kB / 302.7 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.1399, allocations: 293.1 kB / 303 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1399, allocations: 0.8438 kB / 303 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1399, allocations: 6.859 kB / 303 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.14, allocations: 7.812 kB / 303 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.14, allocations: 21.58 kB / 303.1 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.1404, allocations: 256.5 kB / 303.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1405, allocations: 71.28 kB / 303.4 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.1405, allocations: 23.62 kB / 303.4 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1406, allocations: 2.672 kB / 303.4 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.1406, allocations: 36 kB / 303.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.1406, allocations: 4.812 kB / 303.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003955/0.141, allocations: 240.8 kB / 303.7 MB, free: 18.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.141, allocations: 105.6 kB / 303.8 MB, free: 18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.1411, allocations: 146.5 kB / 303.9 MB, free: 17.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.1411, allocations: 31.83 kB / 304 MB, free: 17.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.1411, allocations: 108.4 kB / 304.1 MB, free: 17.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.1411, allocations: 29.84 kB / 304.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.1412, allocations: 34.95 kB / 304.1 MB, free: 17.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.34e-05/0.1412, allocations: 327.3 kB / 304.5 MB, free: 17.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.1412, allocations: 20.09 kB / 304.5 MB, free: 17.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.367e-05/0.1413, allocations: 86.34 kB / 304.6 MB, free: 17.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.842e-05/0.1413, allocations: 42.03 kB / 304.6 MB, free: 17.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1413, allocations: 0 / 304.6 MB, free: 17.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.387e-05/0.1414, allocations: 71.91 kB / 304.7 MB, free: 17.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1414, allocations: 5.016 kB / 304.7 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1414, allocations: 2.172 kB / 304.7 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1414, allocations: 32 / 304.7 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.1415, allocations: 33.8 kB / 304.7 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1415, allocations: 2.266 kB / 304.7 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.1416, allocations: 17.09 kB / 304.7 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1416, allocations: 2.812 kB / 304.7 MB, free: 17.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.51e-05/0.1416, allocations: 87.97 kB / 304.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.208e-05/0.1417, allocations: 81.78 kB / 304.9 MB, free: 17.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 3.279e-05/0.1417, allocations: 38.73 kB / 304.9 MB, free: 17.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.32e-07/0.1417, allocations: 3.938 kB / 304.9 MB, free: 17.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 6.07e-05/0.1418, allocations: 71.47 kB / 305 MB, free: 17.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.951e-06/0.1418, allocations: 8.766 kB / 305 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.21e-07/0.1418, allocations: 1.094 kB / 305 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-06/0.1418, allocations: 0 / 305 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.507e-05/0.1418, allocations: 20.92 kB / 305 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-06/0.1418, allocations: 1.094 kB / 305 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/0.1418, allocations: 13.38 kB / 305.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-06/0.1419, allocations: 1.125 kB / 305.1 MB, free: 17.04 MB / 282.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 5.672e-05/0.1419, allocations: 187.8 kB / 305.2 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.1419, allocations: 11.17 kB / 305.3 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.142, allocations: 18.92 kB / 305.3 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.142, allocations: 2.125 kB / 305.3 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.142, allocations: 0.7969 kB / 305.3 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.142, allocations: 1.312 kB / 305.3 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.1423, allocations: 270.4 kB / 305.5 MB, free: 16.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1423, allocations: 6.219 kB / 305.5 MB, free: 16.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.1423, allocations: 26.59 kB / 305.6 MB, free: 16.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1423, allocations: 2.094 kB / 305.6 MB, free: 16.65 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1423, allocations: 12.11 kB / 305.6 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1423, allocations: 1.672 kB / 305.6 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1423, allocations: 1.156 kB / 305.6 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.1425, allocations: 191.5 kB / 305.8 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.1425, allocations: 8.484 kB / 305.8 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1425, allocations: 4.672 kB / 305.8 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1426, allocations: 32.89 kB / 305.8 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.1426, allocations: 12.23 kB / 305.8 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.1427, allocations: 6.594 kB / 305.8 MB, free: 16.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.825e-05/0.1427, allocations: 37.69 kB / 305.9 MB, free: 16.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1427, allocations: 0 / 305.9 MB, free: 16.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.1429, allocations: 38.25 kB / 305.9 MB, free: 16.48 MB / 282.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.679e-05/0.1429, allocations: 79.62 kB / 306 MB, free: 16.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.143, allocations: 74.41 kB / 306.1 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1431, allocations: 1.188 kB / 306.1 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.1431, allocations: 29.41 kB / 306.1 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.1433, allocations: 43.23 kB / 306.1 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.1437, allocations: 250.7 kB / 306.4 MB, free: 16.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.25e-05/0.1438, allocations: 67.59 kB / 306.4 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.324e-05/0.1438, allocations: 17.8 kB / 306.5 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.144, allocations: 101.6 kB / 306.6 MB, free: 16.07 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.144, allocations: 0 / 306.6 MB, free: 16.07 MB / 282.7 MB Notification: Performance of Templates: time 0.004783/0.1488, allocations: 2.628 MB / 309.2 MB, free: 15.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.07115039229393]