Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.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.00107/0.00107, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001967/0.001967, allocations: 169 kB / 24.14 MB, free: 360 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.8966/0.8966, allocations: 158.6 MB / 186 MB, free: 2.754 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.1534/0.1534, allocations: 32.37 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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5093,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5093,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.818e-05, allocations: 2.312 kB / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.1363/0.1363, allocations: 3.296 MB / 302.4 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.1392, allocations: 1.479 MB / 303.8 MB, free: 18.45 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005373/0.1397, allocations: 40.69 kB / 303.9 MB, free: 18.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.14, allocations: 111.8 kB / 304 MB, free: 18.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005285/0.1406, allocations: 185.2 kB / 304.2 MB, free: 18.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.1418, allocations: 0.6 MB / 304.8 MB, free: 17.88 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.143, allocations: 0.9666 MB / 305.7 MB, free: 17.38 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.1434, allocations: 205.4 kB / 305.9 MB, free: 17.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007948/0.1441, allocations: 0.5109 MB / 306.4 MB, free: 17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004309/0.1446, allocations: 271.7 kB / 306.7 MB, free: 16.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.1447, allocations: 72.78 kB / 306.8 MB, free: 16.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-05/0.1448, allocations: 74.34 kB / 306.8 MB, free: 16.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1449, allocations: 182.2 kB / 307 MB, free: 16.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.1452, allocations: 227 kB / 307.2 MB, free: 16.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006791/0.1458, allocations: 0.5885 MB / 307.8 MB, free: 16.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1458, allocations: 1.375 kB / 307.8 MB, free: 16.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1458, allocations: 0 / 307.8 MB, free: 16.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.45e-05/0.1459, allocations: 0.6562 kB / 307.8 MB, free: 16.3 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001586/0.1475, allocations: 1.062 MB / 308.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1475, allocations: 8.719 kB / 308.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.1477, allocations: 99.41 kB / 309 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000775/0.1485, allocations: 0.4989 MB / 309.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.654e-05/0.1485, allocations: 38.72 kB / 309.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.98e-05/0.1486, allocations: 52.92 kB / 309.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008469/0.1495, allocations: 0.6708 MB / 310.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.1495, allocations: 5.094 kB / 310.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.1495, allocations: 21.91 kB / 310.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.1496, allocations: 16.22 kB / 310.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.1499, allocations: 153 kB / 310.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.1518, allocations: 1.587 MB / 312 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.1524, allocations: 283 kB / 312.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.1525, allocations: 93.19 kB / 312.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.1526, allocations: 11.14 kB / 312.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1526, allocations: 39.53 kB / 312.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=48): time 2.615e-06/0.1526, allocations: 0 / 312.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=50): time 0.001246/0.1538, allocations: 0.6709 MB / 313.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.539e-05/0.1539, allocations: 187.3 kB / 313.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.1543, allocations: 0.5201 MB / 313.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.1544, allocations: 36.73 kB / 313.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.1545, allocations: 267.6 kB / 314.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.1546, allocations: 190.2 kB / 314.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.1547, allocations: 106.6 kB / 314.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.264e-05/0.1548, allocations: 334.3 kB / 314.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1549, allocations: 67.44 kB / 314.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1551, allocations: 283.5 kB / 315.1 MB, free: 11.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.1554, allocations: 261.5 kB / 315.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1554, allocations: 0 / 315.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004513/0.1559, allocations: 304.5 kB / 315.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1559, allocations: 5.719 kB / 315.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1559, allocations: 2.594 kB / 315.7 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.1559, allocations: 5.094 kB / 315.7 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/0.1565, allocations: 174.1 kB / 315.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1565, allocations: 4.844 kB / 315.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.1568, allocations: 49.61 kB / 315.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.1568, allocations: 16.12 kB / 315.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001907/0.157, allocations: 143.8 kB / 316 MB, free: 11.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001872/0.1572, allocations: 290.9 kB / 316.3 MB, free: 11.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002936/0.1575, allocations: 252.7 kB / 316.6 MB, free: 10.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.1575, allocations: 1 kB / 316.6 MB, free: 10.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0004109/0.1579, allocations: 292.2 kB / 316.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1579, allocations: 9.125 kB / 316.9 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1579, allocations: 3.125 kB / 316.9 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.1579, allocations: 9.688 kB / 316.9 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.1583, allocations: 147.7 kB / 317 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1584, allocations: 9.594 kB / 317 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.1586, allocations: 45.61 kB / 317.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.1586, allocations: 18.56 kB / 317.1 MB, free: 10.65 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (limIntegrator1.local_reset,limIntegrator2.local_reset,PID1.I.local_reset,PID2.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0001153/0.1587, allocations: 217.7 kB / 317.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.1588, allocations: 57.12 kB / 317.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.159, allocations: 88.08 kB / 317.4 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.159, allocations: 4.594 kB / 317.4 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.159, allocations: 1.125 kB / 317.4 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.159, allocations: 7.406 kB / 317.5 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.1601, allocations: 0.6558 MB / 318.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1601, allocations: 1.625 kB / 318.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.1605, allocations: 121.3 kB / 318.2 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1605, allocations: 3.125 kB / 318.2 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.1605, allocations: 14.45 kB / 318.2 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1605, allocations: 7.625 kB / 318.3 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1605, allocations: 1.375 kB / 318.3 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.161, allocations: 0.527 MB / 318.8 MB, free: 9.551 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.1612, allocations: 77.78 kB / 318.9 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.1613, allocations: 11.41 kB / 318.9 MB, free: 9.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.1616, allocations: 52.11 kB / 318.9 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.1616, allocations: 51.66 kB / 319 MB, free: 9.438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.1617, allocations: 6.906 kB / 319 MB, free: 9.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001998/0.1619, allocations: 254.6 kB / 319.2 MB, free: 9.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1619, allocations: 0 / 319.2 MB, free: 9.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005484/0.1624, allocations: 189.1 kB / 319.4 MB, free: 9.227 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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.0001535/0.1626, allocations: 96.3 kB / 319.5 MB, free: 9.125 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005208/0.1631, allocations: 394.1 kB / 319.9 MB, free: 8.738 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.1631, allocations: 12.19 kB / 319.9 MB, free: 8.727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.1633, allocations: 141.3 kB / 320 MB, free: 8.586 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007261/0.164, allocations: 229.7 kB / 320.3 MB, free: 8.391 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.1658, allocations: 1.249 MB / 321.5 MB, free: 7.098 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.687e-05/0.1659, allocations: 146.6 kB / 321.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003469/0.1662, allocations: 97.77 kB / 321.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/0.1666, allocations: 209.2 kB / 322 MB, free: 6.637 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1666, allocations: 4 kB / 322 MB, free: 6.633 MB / 282.7 MB Notification: Performance of Templates: time 0.01487/0.1815, allocations: 10.13 MB / 332.1 MB, free: 12.63 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.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.224162151105702]