Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 97.66 kB / 17 MB, free: 6.039 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.001091/0.001092, allocations: 181.8 kB / 17.89 MB, free: 5.637 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.575/1.575, allocations: 223.3 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.258/0.258, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004106, allocations: 13.03 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1266, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004175/0.1309, allocations: 2.945 MB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.1332, allocations: 1.321 MB / 475.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.1336, allocations: 23.81 kB / 475.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.134, allocations: 79.23 kB / 476 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.1345, allocations: 127 kB / 476.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.1357, allocations: 471.6 kB / 476.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.1368, allocations: 0.7962 MB / 477.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004962/0.1373, allocations: 228.3 kB / 477.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005871/0.1379, allocations: 278.6 kB / 477.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.1383, allocations: 282.3 kB / 478.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.442e-05/0.1384, allocations: 20 kB / 478.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-05/0.1384, allocations: 24 kB / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1386, allocations: 107.5 kB / 478.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.1387, allocations: 137.2 kB / 478.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000605/0.1393, allocations: 0.5614 MB / 479 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.1394, allocations: 7.938 kB / 479 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1394, allocations: 0 / 479 MB, free: 6.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.1394, allocations: 0 / 479 MB, free: 6.273 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002152/0.1415, allocations: 1.114 MB / 480.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.1416, allocations: 12.03 kB / 480.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.1418, allocations: 90.88 kB / 480.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007893/0.1426, allocations: 0.5225 MB / 480.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.1426, allocations: 41 kB / 480.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.1427, allocations: 52 kB / 480.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.1443, allocations: 0.7501 MB / 481.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.1443, allocations: 7.984 kB / 481.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.355e-05/0.1444, allocations: 16 kB / 481.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.1444, allocations: 12 kB / 481.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.1459, allocations: 0.6479 MB / 482.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003431/0.1494, allocations: 2.345 MB / 484.6 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.1511, allocations: 0.8076 MB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008077/0.1519, allocations: 386.1 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.438e-05/0.152, allocations: 8.438 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.152, allocations: 46.92 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 3.777e-06/0.1521, allocations: 3.984 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.004648/0.1567, allocations: 2.15 MB / 488 MB, free: 12.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.1568, allocations: 184.4 kB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006266/0.1575, allocations: 0.5668 MB / 488.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.1575, allocations: 37.7 kB / 488.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.1578, allocations: 352.8 kB / 489.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.1579, allocations: 177.4 kB / 489.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.158, allocations: 8 kB / 489.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1581, allocations: 382.8 kB / 489.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007891/0.1589, allocations: 344.9 kB / 490 MB, free: 10.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00086/0.1598, allocations: 469.9 kB / 490.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/0.1606, allocations: 350 kB / 490.8 MB, free: 9.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1606, allocations: 4 kB / 490.8 MB, free: 9.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00181/0.1625, allocations: 0.8882 MB / 491.7 MB, free: 9.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.1626, allocations: 151.2 kB / 491.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.1626, allocations: 4 kB / 491.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1626, allocations: 4 kB / 491.8 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008425/0.1635, allocations: 227.7 kB / 492.1 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1635, allocations: 4 kB / 492.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.164, allocations: 107.9 kB / 492.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.164, allocations: 23.98 kB / 492.2 MB, free: 8.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.593e-06/0.164, allocations: 4 kB / 492.2 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001245/0.1653, allocations: 0.6142 MB / 492.8 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1653, allocations: 4 kB / 492.8 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.1653, allocations: 7.984 kB / 492.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006475/0.166, allocations: 176 kB / 493 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.166, allocations: 7.984 kB / 493 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.1664, allocations: 71.95 kB / 493.1 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.1664, allocations: 19.98 kB / 493.1 MB, free: 7.652 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000292/0.1667, allocations: 269.5 kB / 493.3 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.1668, allocations: 71.16 kB / 493.4 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.167, allocations: 87.27 kB / 493.5 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.167, allocations: 4 kB / 493.5 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.167, allocations: 11.88 kB / 493.5 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1671, allocations: 0 / 493.5 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.1697, allocations: 1.545 MB / 495.1 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1697, allocations: 4 kB / 495.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006762/0.1704, allocations: 175.9 kB / 495.2 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1704, allocations: 8 kB / 495.2 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.1705, allocations: 16.31 kB / 495.3 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1705, allocations: 4 kB / 495.3 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1705, allocations: 3.953 kB / 495.3 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.1731, allocations: 1.4 MB / 496.7 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.1733, allocations: 192.1 kB / 496.9 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.1734, allocations: 12 kB / 496.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005189/0.1739, allocations: 107.9 kB / 497 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.174, allocations: 47.89 kB / 497 MB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.1741, allocations: 15.98 kB / 497 MB, free: 3.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004222/0.1745, allocations: 391.1 kB / 497.4 MB, free: 3.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1745, allocations: 0 / 497.4 MB, free: 3.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006393/0.1752, allocations: 184 kB / 497.6 MB, free: 3.02 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000132/0.1753, allocations: 115.2 kB / 497.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002332/0.1776, allocations: 1.096 MB / 498.8 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.1777, allocations: 4 kB / 498.8 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008475/0.1785, allocations: 407.6 kB / 499.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009814/0.1795, allocations: 185.1 kB / 499.4 MB, free: 1.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.1828, allocations: 1.781 MB / 0.4894 GB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.1833, allocations: 0.9182 MB / 0.4903 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004055/0.1837, allocations: 93.08 kB / 0.4904 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.1839, allocations: 55.41 kB / 0.4905 GB, free: 14.31 MB / 382.1 MB Notification: Performance of SimCode: time 5.82e-07/0.1839, allocations: 3.938 kB / 0.4905 GB, free: 14.3 MB / 382.1 MB Notification: Performance of Templates: time 0.0139/0.1978, allocations: 7.66 MB / 0.4979 GB, free: 6.723 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches