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.0009147/0.0009148, allocations: 90.19 kB / 17.35 MB, free: 6.352 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.0009475/0.0009478, allocations: 174.6 kB / 18.25 MB, free: 5.508 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.404/1.404, allocations: 223.3 MB / 242.3 MB, free: 220 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.2051/0.2051, allocations: 44.25 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004216, allocations: 13.53 kB / 410.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1546, allocations: 61.92 MB / 472.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005427/0.1601, allocations: 3.133 MB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003612/0.1638, allocations: 1.344 MB / 476.7 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008078/0.1646, allocations: 27.81 kB / 476.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.1651, allocations: 75.23 kB / 476.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009546/0.1661, allocations: 131 kB / 476.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.1679, allocations: 0.5506 MB / 477.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.1695, allocations: 0.8664 MB / 478.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007554/0.1703, allocations: 288.7 kB / 478.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007329/0.171, allocations: 282.5 kB / 478.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006695/0.1717, allocations: 294.1 kB / 479.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.1719, allocations: 20 kB / 479.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.172, allocations: 24 kB / 479.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.1722, allocations: 115.3 kB / 479.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003994/0.1726, allocations: 331.4 kB / 479.7 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009722/0.1736, allocations: 0.7236 MB / 480.4 MB, free: 5.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1736, allocations: 0 / 480.4 MB, free: 5.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1736, allocations: 3.938 kB / 480.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1736, allocations: 0 / 480.4 MB, free: 5.148 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.002972/0.1766, allocations: 1.11 MB / 481.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1766, allocations: 8.031 kB / 481.5 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.1769, allocations: 91.81 kB / 481.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.1779, allocations: 0.5544 MB / 482.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.178, allocations: 37.38 kB / 482.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.1781, allocations: 48.38 kB / 482.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.1804, allocations: 0.7583 MB / 483 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.1804, allocations: 0 / 483 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-05/0.1805, allocations: 27.94 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.1806, allocations: 12 kB / 483.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.1831, allocations: 0.644 MB / 483.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005608/0.1887, allocations: 2.345 MB / 486 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/0.1918, allocations: 0.8228 MB / 486.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.1932, allocations: 378.2 kB / 487.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.241e-05/0.1933, allocations: 16.38 kB / 487.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.1934, allocations: 34.94 kB / 487.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 3.747e-06/0.1934, allocations: 4 kB / 487.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.008322/0.2017, allocations: 2.168 MB / 489.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.2019, allocations: 184.4 kB / 489.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.2031, allocations: 0.5629 MB / 490.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.053e-05/0.2032, allocations: 37.7 kB / 490.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004331/0.2036, allocations: 352.8 kB / 490.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.2039, allocations: 177.4 kB / 490.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.204, allocations: 53.69 kB / 490.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002523/0.2043, allocations: 382.8 kB / 491.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.2058, allocations: 344.9 kB / 491.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.2075, allocations: 477.9 kB / 492 MB, free: 9.117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003017/0.2105, allocations: 0.7605 MB / 492.7 MB, free: 8.324 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2105, allocations: 0 / 492.7 MB, free: 8.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003629/0.2142, allocations: 0.8961 MB / 493.6 MB, free: 7.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.2144, allocations: 161.6 kB / 493.8 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.2144, allocations: 4 kB / 493.8 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.2145, allocations: 7.984 kB / 493.8 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.216, allocations: 215.8 kB / 494 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/0.216, allocations: 11.94 kB / 494 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.217, allocations: 107.9 kB / 494.1 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.925e-05/0.2171, allocations: 20 kB / 494.2 MB, free: 6.871 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.2172, allocations: 8 kB / 494.2 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002336/0.2195, allocations: 0.6146 MB / 494.8 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.2195, allocations: 3.984 kB / 494.8 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2196, allocations: 4 kB / 494.8 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.2207, allocations: 176.1 kB / 495 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.426e-05/0.2207, allocations: 11.94 kB / 495 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008128/0.2216, allocations: 79.86 kB / 495.1 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/0.2216, allocations: 16 kB / 495.1 MB, free: 5.965 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.0005009/0.2222, allocations: 261.1 kB / 495.3 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.2224, allocations: 75.06 kB / 495.4 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.2227, allocations: 91.27 kB / 495.5 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.2227, allocations: 4 kB / 495.5 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.2228, allocations: 3.938 kB / 495.5 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.088e-06/0.2228, allocations: 11.88 kB / 495.5 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005042/0.2278, allocations: 1.538 MB / 497 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.2279, allocations: 4 kB / 497 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.2292, allocations: 183.8 kB / 497.2 MB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.017e-05/0.2293, allocations: 4 kB / 497.2 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.458e-05/0.2293, allocations: 19.92 kB / 497.3 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.2294, allocations: 0 / 497.3 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.2294, allocations: 4 kB / 497.3 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005254/0.2346, allocations: 1.412 MB / 498.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.2351, allocations: 188.1 kB / 498.8 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.2353, allocations: 12 kB / 498.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.2364, allocations: 107.9 kB / 499 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.2366, allocations: 39.94 kB / 499 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.208e-05/0.2367, allocations: 15.98 kB / 499 MB, free: 1.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008847/0.2376, allocations: 403 kB / 499.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2376, allocations: 0 / 499.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001291/0.2389, allocations: 180 kB / 499.6 MB, free: 1.324 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.000223/0.2391, allocations: 119.8 kB / 499.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00449/0.2436, allocations: 1.099 MB / 0.4891 GB, free: 100 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.2437, allocations: 4 kB / 0.4891 GB, free: 96 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.2453, allocations: 407.5 kB / 0.4895 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.2473, allocations: 193.5 kB / 0.4896 GB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00585/0.2532, allocations: 1.872 MB / 0.4915 GB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007684/0.254, allocations: 0.9181 MB / 0.4924 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007603/0.2548, allocations: 88.8 kB / 0.4925 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.2551, allocations: 59.41 kB / 0.4925 GB, free: 12.5 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2551, allocations: 0 / 0.4925 GB, free: 12.5 MB / 382.1 MB Notification: Performance of Templates: time 0.02519/0.2803, allocations: 7.942 MB / 0.5003 GB, free: 4.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 -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