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.001068/0.001068, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001029/0.001029, allocations: 188.1 kB / 19.33 MB, free: 3.699 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.463/1.463, allocations: 222.9 MB / 243 MB, free: 15.14 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.215/0.215, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 66.91 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1299, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004937/0.1348, allocations: 3.527 MB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.1374, allocations: 1.379 MB / 475.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003062/0.1377, allocations: 23.88 kB / 475.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.138, allocations: 114.7 kB / 475.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.1385, allocations: 162.6 kB / 475.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.1396, allocations: 0.6007 MB / 476.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009723/0.1406, allocations: 0.9328 MB / 477.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004377/0.141, allocations: 300.5 kB / 477.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.1415, allocations: 366.4 kB / 478.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.1418, allocations: 358.1 kB / 478.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.753e-05/0.1419, allocations: 72 kB / 478.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.302e-05/0.142, allocations: 72 kB / 478.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.1422, allocations: 183.3 kB / 478.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.1425, allocations: 361.8 kB / 479.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007239/0.1432, allocations: 0.8327 MB / 479.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1432, allocations: 0 / 479.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1432, allocations: 0 / 479.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1432, allocations: 0 / 479.9 MB, free: 4.359 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.002067/0.1453, allocations: 1.191 MB / 481.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1453, allocations: 8.031 kB / 481.1 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.1455, allocations: 95.81 kB / 481.2 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008427/0.1463, allocations: 0.5896 MB / 481.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.1464, allocations: 41.36 kB / 481.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-05/0.1465, allocations: 48.38 kB / 481.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.1478, allocations: 0.7035 MB / 482.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.1478, allocations: 3.906 kB / 482.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.1478, allocations: 24 kB / 482.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.1479, allocations: 12 kB / 482.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.1492, allocations: 0.5581 MB / 483.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.1522, allocations: 2.278 MB / 485.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.1538, allocations: 0.7209 MB / 486.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007353/0.1546, allocations: 326.2 kB / 486.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.454e-05/0.1546, allocations: 24.41 kB / 486.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1547, allocations: 38.88 kB / 486.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.395e-06/0.1547, allocations: 4 kB / 486.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.004612/0.1593, allocations: 1.914 MB / 488.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.885e-05/0.1594, allocations: 188.4 kB / 488.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/0.1601, allocations: 0.5629 MB / 489.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.1602, allocations: 37.7 kB / 489.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.1605, allocations: 356.8 kB / 489.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.1606, allocations: 185.3 kB / 489.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.1608, allocations: 106.2 kB / 489.9 MB, free: 9.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1609, allocations: 378.8 kB / 490.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007634/0.1617, allocations: 302.9 kB / 490.6 MB, free: 9.293 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008015/0.1625, allocations: 414 kB / 491 MB, free: 8.848 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.164, allocations: 0.6549 MB / 491.6 MB, free: 8.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.164, allocations: 4 kB / 491.6 MB, free: 8.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001767/0.1657, allocations: 0.7946 MB / 492.4 MB, free: 7.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.1658, allocations: 11.28 kB / 492.4 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1658, allocations: 0 / 492.4 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.1658, allocations: 11.94 kB / 492.5 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008298/0.1667, allocations: 192 kB / 492.6 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1667, allocations: 4 kB / 492.7 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000509/0.1672, allocations: 83.91 kB / 492.7 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.1672, allocations: 16 kB / 492.8 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006927/0.1679, allocations: 365 kB / 493.1 MB, free: 6.684 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006732/0.1686, allocations: 359.6 kB / 493.5 MB, free: 6.281 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001062/0.1697, allocations: 0.5359 MB / 494 MB, free: 5.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.1697, allocations: 0 / 494 MB, free: 5.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001304/0.171, allocations: 0.6553 MB / 494.6 MB, free: 5.047 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.171, allocations: 12 kB / 494.7 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1711, allocations: 4 kB / 494.7 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/0.1711, allocations: 4 kB / 494.7 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/0.1717, allocations: 163.8 kB / 494.8 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1718, allocations: 11.88 kB / 494.8 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.1722, allocations: 59.95 kB / 494.9 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.1723, allocations: 23.98 kB / 494.9 MB, free: 4.773 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.0002163/0.1725, allocations: 208.1 kB / 495.1 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.1726, allocations: 75.06 kB / 495.2 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.1728, allocations: 87.27 kB / 495.3 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1728, allocations: 11.94 kB / 495.3 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.1728, allocations: 0 / 495.3 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1728, allocations: 0 / 495.3 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/0.1757, allocations: 1.449 MB / 496.7 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1757, allocations: 0 / 496.7 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006947/0.1764, allocations: 159.8 kB / 496.9 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1764, allocations: 0 / 496.9 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.1764, allocations: 19.98 kB / 496.9 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1765, allocations: 4 kB / 496.9 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1765, allocations: 0 / 496.9 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.1789, allocations: 1.249 MB / 498.2 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.1791, allocations: 192.1 kB / 498.4 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.382e-05/0.1792, allocations: 19.94 kB / 498.4 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/0.1797, allocations: 75.86 kB / 498.5 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.1799, allocations: 43.88 kB / 498.5 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.1799, allocations: 19.98 kB / 498.5 MB, free: 1.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000402/0.1803, allocations: 395.1 kB / 498.9 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1803, allocations: 0 / 498.9 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006728/0.181, allocations: 180 kB / 499.1 MB, free: 0.5 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.000156/0.1812, allocations: 115.2 kB / 499.2 MB, free: 384 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.1834, allocations: 0.9812 MB / 0.4884 GB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1834, allocations: 0 / 0.4884 GB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007803/0.1842, allocations: 351.8 kB / 0.4888 GB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009662/0.1852, allocations: 203.4 kB / 0.489 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/0.1881, allocations: 1.487 MB / 0.4904 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.1886, allocations: 0.914 MB / 0.4913 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.1889, allocations: 97.06 kB / 0.4914 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.1891, allocations: 59.41 kB / 0.4915 GB, free: 12.24 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1891, allocations: 3.938 kB / 0.4915 GB, free: 12.24 MB / 382.1 MB Notification: Performance of Templates: time 0.01366/0.2028, allocations: 8.68 MB / 0.5 GB, free: 3.648 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches