Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008352/0.0008352, allocations: 95.34 kB / 17.35 MB, free: 6.375 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.0009836/0.0009837, allocations: 177.5 kB / 18.25 MB, free: 5.52 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.384/1.384, allocations: 223.3 MB / 242.3 MB, free: 14.51 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.2582/0.2582, allocations: 44.25 MB / 337.7 MB, free: 2.449 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 8.531 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 61.92 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003592/0.1379, allocations: 2.95 MB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.141, allocations: 1.505 MB / 476.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000448/0.1415, allocations: 19.88 kB / 476.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.142, allocations: 103.2 kB / 476.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004865/0.1425, allocations: 170.2 kB / 477 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1438, allocations: 494.4 kB / 477.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009584/0.1448, allocations: 0.8537 MB / 478.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.1452, allocations: 222.4 kB / 478.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004445/0.1456, allocations: 294.4 kB / 478.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.1461, allocations: 350.1 kB / 479.2 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.426e-05/0.1462, allocations: 20 kB / 479.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.254e-05/0.1463, allocations: 24 kB / 479.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.1465, allocations: 155.3 kB / 479.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.1467, allocations: 311.5 kB / 479.7 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006137/0.1473, allocations: 0.6886 MB / 480.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1474, allocations: 3.938 kB / 480.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.529e-06/0.1474, allocations: 3.984 kB / 480.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.1474, allocations: 0 / 480.4 MB, free: 5.18 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002185/0.1496, allocations: 1.047 MB / 481.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.1496, allocations: 8.031 kB / 481.4 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.1498, allocations: 95.89 kB / 481.5 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009077/0.1507, allocations: 0.5661 MB / 482.1 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.1508, allocations: 37.38 kB / 482.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.907e-05/0.1509, allocations: 52.38 kB / 482.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.1521, allocations: 0.6372 MB / 482.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.1521, allocations: 3.938 kB / 482.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.1521, allocations: 20 kB / 482.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.1522, allocations: 16 kB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.1533, allocations: 0.4939 MB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003876/0.1572, allocations: 2.686 MB / 486 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.1584, allocations: 0.5765 MB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005961/0.159, allocations: 278.4 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.159, allocations: 8.031 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/0.1591, allocations: 42.56 kB / 486.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 3.006e-06/0.1591, allocations: 0 / 486.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002693/0.1618, allocations: 1.208 MB / 488.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.1619, allocations: 136.5 kB / 488.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009831/0.1629, allocations: 0.6529 MB / 488.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.163, allocations: 33.7 kB / 489 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/0.1633, allocations: 360 kB / 489.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.1635, allocations: 177.5 kB / 489.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.1636, allocations: 57.69 kB / 489.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1638, allocations: 337.9 kB / 489.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006552/0.1644, allocations: 289.1 kB / 490.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000776/0.1652, allocations: 456.5 kB / 490.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.1666, allocations: 0.7171 MB / 491.3 MB, free: 9.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.1666, allocations: 4 kB / 491.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001747/0.1684, allocations: 0.8492 MB / 492.2 MB, free: 8.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/0.1686, allocations: 213.5 kB / 492.4 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.1686, allocations: 8 kB / 492.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.1686, allocations: 11.94 kB / 492.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007121/0.1693, allocations: 167.7 kB / 492.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.1694, allocations: 8 kB / 492.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/0.1699, allocations: 91.62 kB / 492.7 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.17, allocations: 24 kB / 492.7 MB, free: 8.316 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.17, allocations: 6.5 kB / 492.7 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001412/0.1714, allocations: 0.718 MB / 493.4 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1715, allocations: 4 kB / 493.4 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.1715, allocations: 8 kB / 493.4 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.1721, allocations: 152 kB / 493.6 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1721, allocations: 12 kB / 493.6 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.1726, allocations: 87.53 kB / 493.7 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.1727, allocations: 24 kB / 493.7 MB, free: 7.312 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0004016/0.1731, allocations: 294.2 kB / 494 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.1732, allocations: 79.05 kB / 494 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.1734, allocations: 90.22 kB / 494.1 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.1734, allocations: 4 kB / 494.1 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1734, allocations: 0 / 494.1 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1735, allocations: 3.984 kB / 494.1 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.1748, allocations: 0.8571 MB / 495 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.1748, allocations: 0 / 495 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006537/0.1754, allocations: 119.9 kB / 495.1 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1754, allocations: 0 / 495.1 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.1755, allocations: 19.98 kB / 495.1 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.1755, allocations: 7.875 kB / 495.1 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1755, allocations: 4 kB / 495.1 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.1777, allocations: 1.196 MB / 496.3 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.1779, allocations: 196.2 kB / 496.5 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/0.178, allocations: 16.08 kB / 496.5 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005913/0.1786, allocations: 67.88 kB / 496.6 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.1787, allocations: 39.94 kB / 496.7 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.1788, allocations: 19.98 kB / 496.7 MB, free: 4.207 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006656/0.1795, allocations: 462.9 kB / 497.1 MB, free: 3.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1795, allocations: 4 kB / 497.1 MB, free: 3.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000829/0.1803, allocations: 200 kB / 497.3 MB, free: 3.559 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.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 (44): * Single equations (assignments): 44 * 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.0001586/0.1805, allocations: 103.2 kB / 497.4 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002289/0.1828, allocations: 1.024 MB / 498.4 MB, free: 2.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1828, allocations: 0 / 498.4 MB, free: 2.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006782/0.1835, allocations: 307.7 kB / 498.7 MB, free: 2.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.1847, allocations: 177.5 kB / 498.9 MB, free: 1.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.1879, allocations: 1.789 MB / 0.489 GB, free: 128 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.1884, allocations: 0.9536 MB / 0.4899 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005745/0.189, allocations: 144.8 kB / 0.49 GB, free: 15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.1892, allocations: 43.44 kB / 0.4901 GB, free: 14.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1892, allocations: 0 / 0.4901 GB, free: 14.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01547/0.2047, allocations: 6.783 MB / 0.4967 GB, free: 8.234 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches