Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 116.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 206.6 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.3 MB / 255.2 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.261/0.261, allocations: 46.91 MB / 358.2 MB, free: 10.47 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Blocks.Limiters") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002971/0.002971, allocations: 92.77 kB / 0.4925 GB, free: 26.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1374, allocations: 65.98 MB / 0.5569 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003341/0.1407, allocations: 1.71 MB / 0.5586 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.142, allocations: 0.6546 MB / 0.5593 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.382e-05/0.1421, allocations: 7.938 kB / 0.5593 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.405e-05/0.1421, allocations: 11.86 kB / 0.5593 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.1423, allocations: 27.73 kB / 0.5593 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.1428, allocations: 150.5 kB / 0.5594 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.143, allocations: 159.6 kB / 0.5596 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.1431, allocations: 28.83 kB / 0.5596 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.1433, allocations: 79.75 kB / 0.5597 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1434, allocations: 59.69 kB / 0.5598 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.1435, allocations: 12 kB / 0.5598 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.85e-05/0.1435, allocations: 23.98 kB / 0.5598 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.544e-05/0.1436, allocations: 35.84 kB / 0.5598 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.1436, allocations: 59.72 kB / 0.5599 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.1439, allocations: 135.4 kB / 0.56 GB, free: 5.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1439, allocations: 4 kB / 0.56 GB, free: 5.395 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1439, allocations: 0 / 0.56 GB, free: 5.395 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1439, allocations: 0 / 0.56 GB, free: 5.395 MB / 414.1 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.0007841/0.1447, allocations: 458.8 kB / 0.5605 GB, free: 4.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1447, allocations: 12.03 kB / 0.5605 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.1449, allocations: 24.83 kB / 0.5605 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.1452, allocations: 228.1 kB / 0.5607 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1453, allocations: 8.312 kB / 0.5607 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.1453, allocations: 8.375 kB / 0.5607 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.1457, allocations: 176.4 kB / 0.5609 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1457, allocations: 3.938 kB / 0.5609 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.1458, allocations: 8 kB / 0.5609 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1458, allocations: 0 / 0.5609 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.1462, allocations: 123.9 kB / 0.561 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/0.1471, allocations: 452.5 kB / 0.5615 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000635/0.1477, allocations: 186.4 kB / 0.5616 GB, free: 3.582 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.1479, allocations: 76.8 kB / 0.5617 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.148, allocations: 0 / 0.5617 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.148, allocations: 38.56 kB / 0.5617 GB, free: 3.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 4.268e-06/0.148, allocations: 3.984 kB / 0.5617 GB, free: 3.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.00159/0.1496, allocations: 0.5683 MB / 0.5623 GB, free: 2.832 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.766e-05/0.1497, allocations: 114.8 kB / 0.5624 GB, free: 2.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1499, allocations: 157.4 kB / 0.5626 GB, free: 2.523 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.1499, allocations: 29.7 kB / 0.5626 GB, free: 2.488 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.15, allocations: 108.1 kB / 0.5627 GB, free: 2.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.15, allocations: 31.75 kB / 0.5627 GB, free: 2.348 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/0.1501, allocations: 29.72 kB / 0.5627 GB, free: 2.312 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1502, allocations: 322.8 kB / 0.5631 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.1505, allocations: 76.78 kB / 0.5631 GB, free: 1.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.1507, allocations: 94.52 kB / 0.5632 GB, free: 1.809 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.1512, allocations: 141 kB / 0.5634 GB, free: 1.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1512, allocations: 3.938 kB / 0.5634 GB, free: 1.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005195/0.1517, allocations: 181.6 kB / 0.5635 GB, free: 1.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1517, allocations: 4 kB / 0.5635 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1517, allocations: 0.5469 kB / 0.5635 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1517, allocations: 3.938 kB / 0.5635 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.1519, allocations: 51.84 kB / 0.5636 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1519, allocations: 0 / 0.5636 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.1521, allocations: 23.97 kB / 0.5636 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.1521, allocations: 7.984 kB / 0.5636 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001854/0.1523, allocations: 116.1 kB / 0.5637 GB, free: 1.273 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001334/0.1524, allocations: 66.52 kB / 0.5638 GB, free: 1.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000194/0.1526, allocations: 76.77 kB / 0.5639 GB, free: 1.121 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.21e-07/0.1526, allocations: 0 / 0.5639 GB, free: 1.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002737/0.1529, allocations: 121.5 kB / 0.564 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1529, allocations: 10.25 kB / 0.564 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-06/0.1529, allocations: 4.031 kB / 0.564 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-06/0.1529, allocations: 0 / 0.564 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.153, allocations: 19.98 kB / 0.564 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.153, allocations: 7.875 kB / 0.564 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.732e-05/0.1531, allocations: 15.98 kB / 0.564 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1531, allocations: 4 kB / 0.564 GB, free: 0.9375 MB / 414.1 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 0.0001574/0.1533, allocations: 188.2 kB / 0.5642 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.1533, allocations: 11.91 kB / 0.5642 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.481e-05/0.1534, allocations: 21.39 kB / 0.5643 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1534, allocations: 3.938 kB / 0.5643 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1534, allocations: 4 kB / 0.5643 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1534, allocations: 0 / 0.5643 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009958/0.1544, allocations: 0.5069 MB / 0.5648 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.1544, allocations: 3.938 kB / 0.5648 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.1546, allocations: 35.97 kB / 0.5648 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1546, allocations: 0 / 0.5648 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1546, allocations: 4 kB / 0.5648 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1546, allocations: 4 kB / 0.5648 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1546, allocations: 32 / 0.5648 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.1554, allocations: 364.1 kB / 0.5651 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.1555, allocations: 85 kB / 0.5652 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1555, allocations: 8 kB / 0.5652 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.1558, allocations: 35.95 kB / 0.5653 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.1558, allocations: 12.05 kB / 0.5653 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1558, allocations: 4 kB / 0.5653 GB, free: 15.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.156, allocations: 124.8 kB / 0.5654 GB, free: 15.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.156, allocations: 0 / 0.5654 GB, free: 15.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.1563, allocations: 36 kB / 0.5654 GB, free: 15.39 MB / 430.1 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 0.0001336/0.1564, allocations: 99.17 kB / 0.5655 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006624/0.1571, allocations: 192.1 kB / 0.5657 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1571, allocations: 0 / 0.5657 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.1573, allocations: 75.94 kB / 0.5658 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.1577, allocations: 45.39 kB / 0.5658 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/0.1585, allocations: 318.1 kB / 0.5661 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.1589, allocations: 0.7085 MB / 0.5668 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.1589, allocations: 15.44 kB / 0.5668 GB, free: 13.89 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1589, allocations: 0 / 0.5668 GB, free: 13.89 MB / 430.1 MB Notification: Performance of Templates: time 0.004073/0.163, allocations: 1.867 MB / 0.5687 GB, free: 12.03 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.82472776400391]