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.0009234/0.0009232, allocations: 98.19 kB / 17 MB, free: 6.398 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.0009323/0.0009325, allocations: 177.1 kB / 17.89 MB, free: 5.945 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.585/1.585, allocations: 223.3 MB / 241.9 MB, free: 328 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.2687/0.2687, allocations: 44.25 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 12.75 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1252, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003391/0.1286, allocations: 2.793 MB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002761/0.1314, allocations: 1.478 MB / 475.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004669/0.1319, allocations: 19.88 kB / 475.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.1324, allocations: 99.27 kB / 476 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005047/0.1329, allocations: 159 kB / 476.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.134, allocations: 425 kB / 476.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.1351, allocations: 0.7835 MB / 477.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002956/0.1354, allocations: 185 kB / 477.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.1357, allocations: 290.6 kB / 477.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003957/0.1362, allocations: 318.4 kB / 478.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.935e-05/0.1362, allocations: 23.94 kB / 478.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.82e-05/0.1363, allocations: 24 kB / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.1365, allocations: 159.3 kB / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1366, allocations: 133.3 kB / 478.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.1371, allocations: 0.53 MB / 479 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1371, allocations: 0 / 479 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1371, allocations: 0 / 479 MB, free: 6.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1371, allocations: 0 / 479 MB, free: 6.254 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.002022/0.1391, allocations: 1.067 MB / 480 MB, free: 5.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1392, allocations: 8.031 kB / 480 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.1393, allocations: 86.97 kB / 480.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008189/0.1401, allocations: 0.5305 MB / 480.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.1402, allocations: 37 kB / 480.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.323e-05/0.1403, allocations: 51.95 kB / 480.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.1414, allocations: 0.6291 MB / 481.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.1414, allocations: 0 / 481.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.1414, allocations: 16 kB / 481.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.1415, allocations: 16 kB / 481.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1425, allocations: 0.4944 MB / 481.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/0.146, allocations: 2.702 MB / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1471, allocations: 0.578 MB / 485.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.1477, allocations: 274.4 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-05/0.1477, allocations: 4 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.1478, allocations: 42.56 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 3.516e-06/0.1478, allocations: 96 / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002423/0.1502, allocations: 1.206 MB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/0.1503, allocations: 136.5 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008523/0.1512, allocations: 0.6412 MB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.1512, allocations: 37.7 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.1515, allocations: 360 kB / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.1517, allocations: 181.3 kB / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.1517, allocations: 12 kB / 488.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1518, allocations: 330 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/0.1524, allocations: 285.1 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007088/0.1532, allocations: 449.1 kB / 489.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006478/0.1538, allocations: 333.1 kB / 489.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1538, allocations: 4 kB / 489.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001573/0.1554, allocations: 0.8324 MB / 490.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.1556, allocations: 221.8 kB / 490.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.1556, allocations: 4 kB / 490.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1556, allocations: 11.94 kB / 490.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/0.1563, allocations: 159.8 kB / 490.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.1563, allocations: 11.98 kB / 490.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.1568, allocations: 87.62 kB / 490.7 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.1568, allocations: 24 kB / 490.8 MB, free: 9.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.822e-06/0.1569, allocations: 4 kB / 490.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001352/0.1582, allocations: 0.7218 MB / 491.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1582, allocations: 4 kB / 491.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1582, allocations: 8.531 kB / 491.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/0.1588, allocations: 159.7 kB / 491.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1589, allocations: 8 kB / 491.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.1593, allocations: 91.53 kB / 491.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.1594, allocations: 23.94 kB / 491.8 MB, free: 8.945 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003365/0.1597, allocations: 285.8 kB / 492.1 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.1599, allocations: 83.02 kB / 492.1 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.1601, allocations: 86.2 kB / 492.2 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.1601, allocations: 4 kB / 492.2 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.1601, allocations: 8 kB / 492.2 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1601, allocations: 3.984 kB / 492.2 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.1614, allocations: 0.8532 MB / 493.1 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1614, allocations: 4 kB / 493.1 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/0.162, allocations: 115.9 kB / 493.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.162, allocations: 4 kB / 493.2 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.1621, allocations: 15.92 kB / 493.2 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.778e-06/0.1621, allocations: 4 kB / 493.2 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1621, allocations: 0 / 493.2 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.1641, allocations: 1.203 MB / 494.4 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.1643, allocations: 208.1 kB / 494.6 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/0.1644, allocations: 19.98 kB / 494.7 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.1649, allocations: 51.95 kB / 494.7 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.165, allocations: 39.94 kB / 494.7 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.1651, allocations: 20.08 kB / 494.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005878/0.1657, allocations: 451 kB / 495.2 MB, free: 5.402 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1657, allocations: 4 kB / 495.2 MB, free: 5.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007771/0.1665, allocations: 192 kB / 495.4 MB, free: 5.211 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001367/0.1666, allocations: 119.2 kB / 495.5 MB, free: 5.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.1688, allocations: 1.012 MB / 496.5 MB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1688, allocations: 0 / 496.5 MB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.1695, allocations: 303.7 kB / 496.8 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.1705, allocations: 180.9 kB / 497 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.1734, allocations: 1.719 MB / 498.7 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/0.174, allocations: 0.9497 MB / 499.7 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005232/0.1745, allocations: 152.8 kB / 499.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.1747, allocations: 43.42 kB / 499.9 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1747, allocations: 4 kB / 499.9 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of Templates: time 0.01238/0.187, allocations: 6.554 MB / 0.4945 GB, free: 10.18 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