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.0008861/0.000886, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009783/0.0009783, allocations: 181.5 kB / 16.91 MB, free: 6.914 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.235/2.235, allocations: 205.4 MB / 223.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5544/0.5544, allocations: 43.57 MB / 315 MB, free: 9.055 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.0005251/0.0005251, allocations: 12 kB / 384.6 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1626, allocations: 58.86 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005179/0.1678, allocations: 3.16 MB / 446.6 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004121/0.172, allocations: 1.403 MB / 448 MB, free: 8.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007106/0.1728, allocations: 23.88 kB / 448 MB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.1732, allocations: 79.19 kB / 448.1 MB, free: 8.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006519/0.1738, allocations: 127 kB / 448.2 MB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.1753, allocations: 0.5501 MB / 448.8 MB, free: 7.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.1765, allocations: 0.8858 MB / 449.7 MB, free: 6.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006445/0.1772, allocations: 288.8 kB / 449.9 MB, free: 6.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005344/0.1777, allocations: 290.4 kB / 450.2 MB, free: 6.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.1781, allocations: 298 kB / 450.5 MB, free: 5.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.671e-05/0.1782, allocations: 24 kB / 450.5 MB, free: 5.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.401e-05/0.1783, allocations: 24 kB / 450.6 MB, free: 5.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.1784, allocations: 115.3 kB / 450.7 MB, free: 5.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.1787, allocations: 327.4 kB / 451 MB, free: 5.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008571/0.1796, allocations: 0.7392 MB / 451.7 MB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1796, allocations: 0 / 451.7 MB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.638e-06/0.1796, allocations: 0 / 451.7 MB, free: 4.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.1797, allocations: 0 / 451.7 MB, free: 4.566 MB / 382.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.002377/0.182, allocations: 1.125 MB / 452.9 MB, free: 3.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.1821, allocations: 11.97 kB / 452.9 MB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.1823, allocations: 95.81 kB / 453 MB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008342/0.1831, allocations: 0.5777 MB / 453.5 MB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.1832, allocations: 41.38 kB / 453.6 MB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.616e-05/0.1833, allocations: 48.38 kB / 453.6 MB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.1848, allocations: 0.7505 MB / 454.4 MB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.1849, allocations: 7.938 kB / 454.4 MB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-05/0.1849, allocations: 20 kB / 454.4 MB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.1849, allocations: 19.97 kB / 454.4 MB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.1865, allocations: 0.6401 MB / 455.1 MB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.345/0.5315, allocations: 2.348 MB / 457.4 MB, free: 44.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/0.5339, allocations: 0.8215 MB / 458.2 MB, free: 44.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.5351, allocations: 376.5 kB / 458.6 MB, free: 44.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.773e-05/0.5352, allocations: 10.53 kB / 458.6 MB, free: 44.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/0.5353, allocations: 50.08 kB / 458.7 MB, free: 44.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.635e-06/0.5353, allocations: 0 / 458.7 MB, free: 44.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.006669/0.542, allocations: 2.168 MB / 460.8 MB, free: 43.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/0.5421, allocations: 186.3 kB / 461 MB, free: 43.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009411/0.5431, allocations: 0.5821 MB / 461.6 MB, free: 43.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.5431, allocations: 38.89 kB / 461.6 MB, free: 43.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/0.5436, allocations: 360.6 kB / 462 MB, free: 43.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.5438, allocations: 178.8 kB / 462.2 MB, free: 43.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.5439, allocations: 51.53 kB / 462.2 MB, free: 43.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5441, allocations: 332.9 kB / 462.5 MB, free: 42.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.5455, allocations: 343.5 kB / 462.9 MB, free: 42.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.5468, allocations: 475.8 kB / 463.3 MB, free: 42.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.5493, allocations: 0.7529 MB / 464.1 MB, free: 42.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.5493, allocations: 0 / 464.1 MB, free: 42.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003365/0.5527, allocations: 0.9006 MB / 465 MB, free: 42.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.5529, allocations: 154.7 kB / 465.1 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.5529, allocations: 2.969 kB / 465.1 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/0.553, allocations: 9.219 kB / 465.2 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.5541, allocations: 227.3 kB / 465.4 MB, free: 42.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/0.5542, allocations: 5.344 kB / 465.4 MB, free: 42.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.5552, allocations: 106.6 kB / 465.5 MB, free: 42.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/0.5553, allocations: 18.56 kB / 465.5 MB, free: 42.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5553, allocations: 6.281 kB / 465.5 MB, free: 42.44 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002003/0.5573, allocations: 0.6187 MB / 466.1 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.5573, allocations: 2.875 kB / 466.1 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.5574, allocations: 5.062 kB / 466.1 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/0.5582, allocations: 175.7 kB / 466.3 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.5583, allocations: 13.3 kB / 466.3 MB, free: 42.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000808/0.5591, allocations: 74.25 kB / 466.4 MB, free: 42.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/0.5592, allocations: 18.78 kB / 466.4 MB, free: 42.38 MB / 382.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.0005046/0.5597, allocations: 278.2 kB / 466.7 MB, free: 42.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.5599, allocations: 78.41 kB / 466.8 MB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.5601, allocations: 83.28 kB / 466.8 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.5601, allocations: 10.25 kB / 466.9 MB, free: 42.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.5602, allocations: 0 / 466.9 MB, free: 42.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5602, allocations: 0 / 466.9 MB, free: 42.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/0.564, allocations: 1.548 MB / 468.4 MB, free: 41.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.5641, allocations: 3.938 kB / 468.4 MB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009769/0.5651, allocations: 177 kB / 468.6 MB, free: 41.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.5651, allocations: 2.906 kB / 468.6 MB, free: 41.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.5651, allocations: 17.11 kB / 468.6 MB, free: 41.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.5651, allocations: 3.031 kB / 468.6 MB, free: 41.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5652, allocations: 0 / 468.6 MB, free: 41.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.5677, allocations: 1.407 MB / 470 MB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.568, allocations: 191 kB / 470.2 MB, free: 41.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-05/0.5681, allocations: 22.88 kB / 470.2 MB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/0.5686, allocations: 105.8 kB / 470.3 MB, free: 41.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.213e-05/0.5687, allocations: 42.06 kB / 470.4 MB, free: 41.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.5687, allocations: 16.56 kB / 470.4 MB, free: 41.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003624/0.5691, allocations: 407 kB / 470.8 MB, free: 41.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5691, allocations: 4 kB / 470.8 MB, free: 41.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000621/0.5697, allocations: 182.3 kB / 471 MB, free: 41.05 MB / 382.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.0001099/0.5699, allocations: 115.3 kB / 471.1 MB, free: 40.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.572, allocations: 1.108 MB / 472.2 MB, free: 40.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5721, allocations: 0 / 472.2 MB, free: 40.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007777/0.5728, allocations: 411.5 kB / 472.6 MB, free: 40.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.5739, allocations: 185.9 kB / 472.8 MB, free: 40.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.5769, allocations: 1.894 MB / 474.7 MB, free: 39.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.5771, allocations: 0.9308 MB / 475.6 MB, free: 38.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003837/0.5775, allocations: 92.31 kB / 475.7 MB, free: 38.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.5777, allocations: 58.05 kB / 475.7 MB, free: 38.77 MB / 382.1 MB Notification: Performance of SimCode: time 6.32e-07/0.5777, allocations: 0 / 475.7 MB, free: 38.77 MB / 382.1 MB Notification: Performance of Templates: time 0.01274/0.5905, allocations: 7.97 MB / 483.7 MB, free: 38.25 MB / 382.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/jenkins/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