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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 113.4 kB / 17.04 MB, free: 5.773 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.00118/0.00118, allocations: 195 kB / 17.98 MB, free: 5.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2853/0.2853, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 64.67 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1281, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004156/0.1323, allocations: 3.556 MB / 445.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.1349, allocations: 1.438 MB / 447 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003757/0.1353, allocations: 31.81 kB / 447 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.1356, allocations: 114.7 kB / 447.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.1361, allocations: 158.5 kB / 447.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000936/0.137, allocations: 0.6038 MB / 447.9 MB, free: 240 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008607/0.1379, allocations: 0.9444 MB / 448.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004509/0.1384, allocations: 300.6 kB / 449.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.1388, allocations: 366.5 kB / 449.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/0.1391, allocations: 366 kB / 449.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.664e-05/0.1392, allocations: 72 kB / 449.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.883e-05/0.1393, allocations: 72 kB / 450 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.1395, allocations: 175.3 kB / 450.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.1398, allocations: 377.6 kB / 450.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007188/0.1405, allocations: 0.8406 MB / 451.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.1405, allocations: 3.984 kB / 451.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1405, allocations: 0 / 451.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1405, allocations: 0 / 451.3 MB, free: 12.73 MB / 334.1 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.002015/0.1426, allocations: 1.207 MB / 452.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1426, allocations: 11.89 kB / 452.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.1427, allocations: 95.81 kB / 452.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009524/0.1437, allocations: 0.6128 MB / 453.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.1438, allocations: 45.38 kB / 453.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.1438, allocations: 56.28 kB / 453.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.1451, allocations: 0.7036 MB / 454.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.1452, allocations: 3.938 kB / 454.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.1452, allocations: 24 kB / 454.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.1453, allocations: 16 kB / 454.1 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.1466, allocations: 0.5503 MB / 454.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.1498, allocations: 2.286 MB / 456.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.1514, allocations: 0.7119 MB / 457.7 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007333/0.1521, allocations: 322.2 kB / 458 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.325e-05/0.1522, allocations: 20.34 kB / 458 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.1522, allocations: 42.94 kB / 458 MB, free: 5.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.673e-06/0.1522, allocations: 0 / 458 MB, free: 5.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.004351/0.1566, allocations: 1.925 MB / 460 MB, free: 3.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.1567, allocations: 184.4 kB / 460.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000632/0.1574, allocations: 0.5826 MB / 460.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.1574, allocations: 37.7 kB / 460.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.1577, allocations: 360.8 kB / 461.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.1579, allocations: 181.4 kB / 461.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.1581, allocations: 106.2 kB / 461.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1582, allocations: 326 kB / 461.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007612/0.159, allocations: 298.9 kB / 462 MB, free: 1.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008422/0.1599, allocations: 421.9 kB / 462.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.1614, allocations: 0.6551 MB / 463.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1614, allocations: 0 / 463.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001806/0.1632, allocations: 0.7907 MB / 463.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.1632, allocations: 9.25 kB / 463.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/0.1632, allocations: 7.969 kB / 463.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.1633, allocations: 11.94 kB / 463.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/0.1641, allocations: 192 kB / 464.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.1641, allocations: 7.938 kB / 464.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.1646, allocations: 83.91 kB / 464.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.1647, allocations: 16 kB / 464.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007236/0.1654, allocations: 365.1 kB / 464.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006231/0.1661, allocations: 355.6 kB / 464.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001087/0.1672, allocations: 0.5436 MB / 465.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.1672, allocations: 0 / 465.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0013/0.1685, allocations: 0.6629 MB / 466.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1685, allocations: 4 kB / 466.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1685, allocations: 4 kB / 466.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.1685, allocations: 4 kB / 466.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006426/0.1692, allocations: 167.8 kB / 466.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1692, allocations: 7.938 kB / 466.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.1696, allocations: 64.06 kB / 466.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.1697, allocations: 23.98 kB / 466.4 MB, free: 13.12 MB / 350.1 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 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.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.0002305/0.1699, allocations: 212.1 kB / 466.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.17, allocations: 75.06 kB / 466.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.1702, allocations: 87.52 kB / 466.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.1703, allocations: 15.94 kB / 466.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.1703, allocations: 0 / 466.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1703, allocations: 0 / 466.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.1729, allocations: 1.446 MB / 468.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.173, allocations: 8 kB / 468.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/0.1736, allocations: 151.9 kB / 468.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.1736, allocations: 4 kB / 468.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.1737, allocations: 15.98 kB / 468.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.1737, allocations: 4 kB / 468.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1737, allocations: 3.938 kB / 468.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.1762, allocations: 1.25 MB / 469.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.1764, allocations: 188.1 kB / 469.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.1765, allocations: 12 kB / 469.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005197/0.177, allocations: 79.91 kB / 469.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.1772, allocations: 47.81 kB / 469.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.1772, allocations: 16 kB / 470 MB, free: 9.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000491/0.1777, allocations: 415 kB / 470.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1777, allocations: 3.938 kB / 470.4 MB, free: 9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006884/0.1784, allocations: 180 kB / 470.5 MB, free: 8.824 MB / 350.1 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.0001717/0.1786, allocations: 111.2 kB / 470.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002331/0.1809, allocations: 0.9849 MB / 471.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1809, allocations: 0 / 471.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008169/0.1818, allocations: 351.8 kB / 472 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009819/0.1827, allocations: 207.6 kB / 472.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.1859, allocations: 1.52 MB / 473.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.1865, allocations: 0.9219 MB / 474.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003875/0.1869, allocations: 93.17 kB / 474.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.187, allocations: 59.41 kB / 474.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1871, allocations: 0 / 474.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of Templates: time 0.01517/0.2022, allocations: 8.714 MB / 483.5 MB, free: 11.86 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches