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.001041/0.001042, allocations: 100 kB / 17.63 MB, free: 5.523 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.001135/0.001134, allocations: 192.1 kB / 18.56 MB, free: 4.602 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.28/1.28, allocations: 222.9 MB / 242.2 MB, free: 15.26 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.2151/0.2151, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 60.34 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.132, allocations: 60.81 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005707/0.1378, allocations: 3.52 MB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.1409, allocations: 1.391 MB / 474.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004408/0.1413, allocations: 23.88 kB / 474.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.1417, allocations: 118.7 kB / 474.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005339/0.1423, allocations: 154.6 kB / 474.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.1435, allocations: 0.59 MB / 475 MB, free: 8.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008996/0.1444, allocations: 0.9289 MB / 476 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004348/0.1449, allocations: 300.8 kB / 476.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004186/0.1453, allocations: 362.5 kB / 476.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.1457, allocations: 366 kB / 477 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.1458, allocations: 72 kB / 477 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.625e-05/0.1459, allocations: 76 kB / 477.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.146, allocations: 175.3 kB / 477.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.1463, allocations: 365.7 kB / 477.6 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007333/0.1471, allocations: 0.8018 MB / 478.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1471, allocations: 4 kB / 478.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1471, allocations: 0 / 478.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1471, allocations: 0 / 478.4 MB, free: 5.133 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.002113/0.1492, allocations: 1.187 MB / 479.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1493, allocations: 8.031 kB / 479.6 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.1494, allocations: 99.78 kB / 479.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007062/0.1501, allocations: 0.5506 MB / 480.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.1502, allocations: 41.38 kB / 480.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-05/0.1503, allocations: 56.38 kB / 480.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.1516, allocations: 0.6996 MB / 481.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.1516, allocations: 11.89 kB / 481.1 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.162e-05/0.1517, allocations: 20 kB / 481.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1517, allocations: 12 kB / 481.1 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.1531, allocations: 0.5542 MB / 481.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002978/0.1561, allocations: 2.286 MB / 484 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.1578, allocations: 0.7228 MB / 484.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007864/0.1586, allocations: 322.2 kB / 485 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.044e-05/0.1586, allocations: 20.42 kB / 485 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.1587, allocations: 38.94 kB / 485.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.274e-06/0.1587, allocations: 4 kB / 485.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.00445/0.1631, allocations: 1.918 MB / 487 MB, free: 12.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/0.1633, allocations: 188.4 kB / 487.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.1639, allocations: 0.5668 MB / 487.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.1639, allocations: 37.64 kB / 487.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.1642, allocations: 352.8 kB / 488.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.1644, allocations: 181.4 kB / 488.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.1646, allocations: 102.2 kB / 488.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1648, allocations: 386.8 kB / 488.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008044/0.1656, allocations: 302.9 kB / 489.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008627/0.1664, allocations: 414 kB / 489.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.168, allocations: 0.655 MB / 490.1 MB, free: 8.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.168, allocations: 0 / 490.1 MB, free: 8.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001819/0.1698, allocations: 0.7947 MB / 490.9 MB, free: 8.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1699, allocations: 8.031 kB / 490.9 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1699, allocations: 4 kB / 490.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.1699, allocations: 7.938 kB / 490.9 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008377/0.1707, allocations: 187.7 kB / 491.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.1708, allocations: 7.984 kB / 491.1 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/0.1713, allocations: 83.91 kB / 491.2 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.1714, allocations: 24 kB / 491.2 MB, free: 7.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007001/0.1721, allocations: 361.1 kB / 491.6 MB, free: 7.484 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006201/0.1727, allocations: 355.6 kB / 491.9 MB, free: 7.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001105/0.1738, allocations: 0.5397 MB / 492.5 MB, free: 6.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.684e-06/0.1738, allocations: 0 / 492.5 MB, free: 6.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001374/0.1752, allocations: 0.6629 MB / 493.1 MB, free: 5.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1752, allocations: 4 kB / 493.1 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1752, allocations: 8 kB / 493.1 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.1753, allocations: 4 kB / 493.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/0.1759, allocations: 168 kB / 493.3 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1759, allocations: 11.94 kB / 493.3 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.1764, allocations: 59.94 kB / 493.4 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.1764, allocations: 20 kB / 493.4 MB, free: 5.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.1766, allocations: 208.1 kB / 493.6 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.1768, allocations: 75.06 kB / 493.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.177, allocations: 87.27 kB / 493.8 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.177, allocations: 8.312 kB / 493.8 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.177, allocations: 0 / 493.8 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.177, allocations: 3.938 kB / 493.8 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.1796, allocations: 1.46 MB / 495.2 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.1796, allocations: 4 kB / 495.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006863/0.1803, allocations: 155.8 kB / 495.4 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1804, allocations: 4 kB / 495.4 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.1804, allocations: 15.98 kB / 495.4 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1804, allocations: 4 kB / 495.4 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1804, allocations: 0 / 495.4 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.183, allocations: 1.244 MB / 496.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.1832, allocations: 188.1 kB / 496.8 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/0.1833, allocations: 12 kB / 496.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/0.1839, allocations: 79.91 kB / 496.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.184, allocations: 47.83 kB / 497 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.184, allocations: 19.92 kB / 497 MB, free: 1.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004205/0.1844, allocations: 399.1 kB / 497.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1844, allocations: 0 / 497.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006801/0.1851, allocations: 180 kB / 497.6 MB, free: 1.293 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 (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.000142/0.1853, allocations: 107.2 kB / 497.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002474/0.1878, allocations: 1.005 MB / 498.7 MB, free: 180 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.1878, allocations: 0 / 498.7 MB, free: 180 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000834/0.1886, allocations: 355.8 kB / 499 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.1897, allocations: 204.1 kB / 499.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.1929, allocations: 1.506 MB / 0.489 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1933, allocations: 0.9218 MB / 0.4899 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003696/0.1937, allocations: 93.06 kB / 0.49 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.1939, allocations: 63.41 kB / 0.49 GB, free: 12.99 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1939, allocations: 0 / 0.49 GB, free: 12.99 MB / 382.1 MB Notification: Performance of Templates: time 0.01417/0.208, allocations: 8.677 MB / 0.4985 GB, free: 4.41 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