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.001134/0.001134, allocations: 108.1 kB / 16.64 MB, free: 6.82 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.001414/0.001414, allocations: 193.9 kB / 17.56 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2766/0.2766, allocations: 43.51 MB / 314.3 MB, free: 0.7188 MB / 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.001567/0.001567, allocations: 71.55 kB / 382.9 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1471, allocations: 57.79 MB / 440.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.00442/0.1516, allocations: 3.564 MB / 444.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.1539, allocations: 1.423 MB / 445.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.1543, allocations: 27.81 kB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.1546, allocations: 79.19 kB / 445.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004688/0.1551, allocations: 131 kB / 445.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009808/0.1561, allocations: 0.5453 MB / 446.4 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.1568, allocations: 0.9444 MB / 447.4 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004112/0.1572, allocations: 300.6 kB / 447.7 MB, free: 336 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003775/0.1576, allocations: 366.5 kB / 448 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.1579, allocations: 365.9 kB / 448.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.158, allocations: 72 kB / 448.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.903e-05/0.1581, allocations: 72 kB / 448.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.1583, allocations: 175.3 kB / 448.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.1586, allocations: 377.7 kB / 449.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006151/0.1592, allocations: 0.612 MB / 449.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1592, allocations: 3.984 kB / 449.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1592, allocations: 0 / 449.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1593, allocations: 0 / 449.7 MB, free: 14.31 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.00223/0.1615, allocations: 1.21 MB / 450.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1616, allocations: 11.89 kB / 450.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.1617, allocations: 95.81 kB / 451 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007666/0.1625, allocations: 0.5661 MB / 451.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.1625, allocations: 37.38 kB / 451.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.1627, allocations: 68.25 kB / 451.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.164, allocations: 0.7074 MB / 452.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.1641, allocations: 0 / 452.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.1641, allocations: 16 kB / 452.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1642, allocations: 12 kB / 452.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.1655, allocations: 0.5581 MB / 453 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.1688, allocations: 2.294 MB / 455.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.1705, allocations: 0.7197 MB / 456 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007525/0.1713, allocations: 322.3 kB / 456.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.894e-05/0.1713, allocations: 20.41 kB / 456.3 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1714, allocations: 38.88 kB / 456.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.763e-06/0.1714, allocations: 4 kB / 456.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.004302/0.1757, allocations: 1.925 MB / 458.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.1758, allocations: 192.4 kB / 458.5 MB, free: 5.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006307/0.1764, allocations: 0.5748 MB / 459 MB, free: 4.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.1765, allocations: 37.7 kB / 459.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.1768, allocations: 364.8 kB / 459.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.1769, allocations: 181.3 kB / 459.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.1771, allocations: 102.2 kB / 459.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1772, allocations: 330 kB / 460 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/0.178, allocations: 302.9 kB / 460.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008957/0.1789, allocations: 410 kB / 460.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.1805, allocations: 0.659 MB / 461.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1805, allocations: 3.938 kB / 461.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001793/0.1823, allocations: 0.7946 MB / 462.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1823, allocations: 8 kB / 462.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1823, allocations: 0 / 462.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.1823, allocations: 8.188 kB / 462.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008061/0.1832, allocations: 195.7 kB / 462.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.1832, allocations: 7.938 kB / 462.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.1837, allocations: 79.91 kB / 462.5 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.505e-05/0.1837, allocations: 20 kB / 462.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007529/0.1845, allocations: 373.1 kB / 462.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000595/0.1851, allocations: 351.6 kB / 463.2 MB, free: 248 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001085/0.1862, allocations: 0.5359 MB / 463.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.1862, allocations: 0 / 463.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001337/0.1875, allocations: 0.6667 MB / 464.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.1876, allocations: 4 kB / 464.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1876, allocations: 4 kB / 464.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/0.1876, allocations: 4 kB / 464.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.1882, allocations: 168 kB / 464.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1882, allocations: 15.88 kB / 464.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.1887, allocations: 55.94 kB / 464.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.1887, allocations: 20 kB / 464.7 MB, free: 14.73 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.0002232/0.189, allocations: 212.1 kB / 464.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.1891, allocations: 79.06 kB / 464.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.1893, allocations: 87.45 kB / 465 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.1893, allocations: 7.938 kB / 465 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.1893, allocations: 4 kB / 465 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1893, allocations: 0 / 465 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.192, allocations: 1.457 MB / 466.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.192, allocations: 0 / 466.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/0.1927, allocations: 151.8 kB / 466.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1927, allocations: 4 kB / 466.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.1928, allocations: 15.98 kB / 466.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1928, allocations: 4.062 kB / 466.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1928, allocations: 4 kB / 466.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.1953, allocations: 1.248 MB / 467.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.1955, allocations: 192.1 kB / 468.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.059e-05/0.1956, allocations: 12 kB / 468.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/0.1962, allocations: 79.91 kB / 468.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.1963, allocations: 43.88 kB / 468.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.1964, allocations: 23.98 kB / 468.3 MB, free: 11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004405/0.1968, allocations: 403.1 kB / 468.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1968, allocations: 0 / 468.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006384/0.1975, allocations: 187.9 kB / 468.8 MB, free: 10.43 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.0001614/0.1976, allocations: 115.2 kB / 469 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.2001, allocations: 1.008 MB / 470 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2001, allocations: 0.625 kB / 470 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008343/0.2009, allocations: 355.7 kB / 470.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.202, allocations: 195.2 kB / 470.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.2055, allocations: 1.83 MB / 472.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.206, allocations: 0.9258 MB / 473.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.2062, allocations: 63.34 kB / 473.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2063, allocations: 0 / 473.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of Templates: time 0.01426/0.2205, allocations: 8.94 MB / 482.3 MB, free: 12.96 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 -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","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches