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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 105.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 241.8 MB, free: 15.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.225/0.225, allocations: 44.18 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.5 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1389, allocations: 60.82 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003542/0.1424, allocations: 1.723 MB / 470.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1435, allocations: 0.5963 MB / 470.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.165e-05/0.1436, allocations: 8 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.769e-05/0.1437, allocations: 7.875 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.1438, allocations: 11.86 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.1442, allocations: 126.7 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.1444, allocations: 147.6 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1446, allocations: 29.44 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1447, allocations: 71.69 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1448, allocations: 63.73 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.1449, allocations: 8 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.909e-05/0.1449, allocations: 8 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.145, allocations: 27.91 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.183e-05/0.145, allocations: 59.59 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.1452, allocations: 123.8 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1452, allocations: 0 / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1452, allocations: 0 / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1453, allocations: 4 kB / 471.5 MB, free: 11.84 MB / 350.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.0008777/0.1461, allocations: 451 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1462, allocations: 8.031 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.1463, allocations: 16.75 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.1466, allocations: 223.2 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1466, allocations: 4.375 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.1466, allocations: 16.12 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.1471, allocations: 164.2 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1471, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.1471, allocations: 11.94 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1471, allocations: 0 / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003658/0.1475, allocations: 131.8 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00086/0.1484, allocations: 456.3 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/0.1489, allocations: 194.5 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.1491, allocations: 72.8 kB / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1492, allocations: 0 / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1492, allocations: 42.55 kB / 473.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.1492, allocations: 4 kB / 473.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001549/0.1508, allocations: 0.5642 MB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.1509, allocations: 110.8 kB / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.151, allocations: 154.2 kB / 474.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.151, allocations: 25.7 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.1511, allocations: 112 kB / 474.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.1511, allocations: 27.66 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.1512, allocations: 33.64 kB / 474.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1514, allocations: 318.8 kB / 474.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.1516, allocations: 76.8 kB / 474.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.1519, allocations: 94.44 kB / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.1522, allocations: 136.8 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1522, allocations: 0 / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004441/0.1527, allocations: 193.4 kB / 475.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1527, allocations: 4 kB / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1527, allocations: 3.938 kB / 475.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1527, allocations: 4 kB / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.1529, allocations: 35.97 kB / 475.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.153, allocations: 0 / 475.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.1531, allocations: 27.97 kB / 475.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.1531, allocations: 4 kB / 475.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001458/0.1533, allocations: 124 kB / 475.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001061/0.1534, allocations: 58.77 kB / 475.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001666/0.1535, allocations: 80.97 kB / 475.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.1536, allocations: 0 / 475.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002485/0.1538, allocations: 125.4 kB / 475.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/0.1538, allocations: 7.984 kB / 475.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-06/0.1538, allocations: 0 / 475.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-06/0.1538, allocations: 3.938 kB / 475.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.1539, allocations: 19.98 kB / 475.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.154, allocations: 8 kB / 475.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.555e-05/0.1541, allocations: 11.98 kB / 475.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.1541, allocations: 0 / 475.6 MB, free: 7.434 MB / 350.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.0001268/0.1542, allocations: 189.1 kB / 475.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.1542, allocations: 11.91 kB / 475.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.715e-05/0.1543, allocations: 20.64 kB / 475.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1543, allocations: 4 kB / 475.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1543, allocations: 0 / 475.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1543, allocations: 4 kB / 475.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008828/0.1552, allocations: 0.5068 MB / 476.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1552, allocations: 7.984 kB / 476.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.1554, allocations: 31.97 kB / 476.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1554, allocations: 0 / 476.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1554, allocations: 4 kB / 476.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1555, allocations: 0 / 476.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1555, allocations: 0 / 476.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007657/0.1562, allocations: 376.1 kB / 476.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.1563, allocations: 85.05 kB / 476.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.1563, allocations: 0 / 476.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.1566, allocations: 39.95 kB / 476.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.1567, allocations: 7.984 kB / 476.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1567, allocations: 4 kB / 476.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1568, allocations: 123.2 kB / 477 MB, free: 5.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1568, allocations: 0 / 477 MB, free: 5.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.1571, allocations: 32 kB / 477 MB, free: 5.902 MB / 350.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.0001416/0.1573, allocations: 103.7 kB / 477.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005969/0.1579, allocations: 195.8 kB / 477.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1579, allocations: 0 / 477.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.1581, allocations: 75.88 kB / 477.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.1586, allocations: 44.58 kB / 477.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007143/0.1594, allocations: 318.4 kB / 477.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1597, allocations: 0.7049 MB / 478.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.516e-05/0.1598, allocations: 24.88 kB / 478.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.1598, allocations: 15.44 kB / 478.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1599, allocations: 0 / 478.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of Templates: time 0.005005/0.1649, allocations: 2.084 MB / 480.6 MB, free: 2.32 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches