Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyState,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_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,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_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 90.52 kB / 18 MB, free: 5.734 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.001508/0.001508, allocations: 180 kB / 18.91 MB, free: 4.867 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 / 243 MB, free: 14.19 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.2244/0.2244, allocations: 44.24 MB / 338.3 MB, free: 2.406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.000391, allocations: 8.562 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1349, allocations: 61.92 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.004053/0.139, allocations: 2.978 MB / 475.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.1425, allocations: 1.497 MB / 477.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007523/0.1432, allocations: 19.88 kB / 477.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00071/0.144, allocations: 111.2 kB / 477.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000866/0.1449, allocations: 163 kB / 477.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.1463, allocations: 489.9 kB / 478.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.1477, allocations: 0.8459 MB / 479 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005876/0.1483, allocations: 218.4 kB / 479.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000634/0.149, allocations: 294.4 kB / 479.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006532/0.1496, allocations: 346.1 kB / 479.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.1498, allocations: 28 kB / 479.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.15, allocations: 20 kB / 479.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.1503, allocations: 159.3 kB / 480 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00046/0.1507, allocations: 315.5 kB / 480.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.1514, allocations: 0.5222 MB / 480.9 MB, free: 5.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1514, allocations: 0 / 480.9 MB, free: 5.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1514, allocations: 4 kB / 480.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.78e-05/0.1515, allocations: 0 / 480.9 MB, free: 5.309 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.002644/0.1541, allocations: 1.061 MB / 481.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1542, allocations: 12.03 kB / 481.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.1545, allocations: 87.91 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.1556, allocations: 0.5623 MB / 482.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.1557, allocations: 37.38 kB / 482.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.1559, allocations: 52.38 kB / 482.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.1573, allocations: 0.641 MB / 483.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.1573, allocations: 7.906 kB / 483.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/0.1574, allocations: 16 kB / 483.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.1574, allocations: 12 kB / 483.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.1586, allocations: 0.4938 MB / 483.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00435/0.163, allocations: 2.651 MB / 486.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.1643, allocations: 0.5812 MB / 487.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000629/0.1649, allocations: 266.4 kB / 487.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.811e-05/0.165, allocations: 4 kB / 487.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.165, allocations: 42.59 kB / 487.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/0.1651, allocations: 0 / 487.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.003214/0.1683, allocations: 1.206 MB / 488.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.1684, allocations: 148.4 kB / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.1695, allocations: 0.649 MB / 489.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.1695, allocations: 33.7 kB / 489.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.1699, allocations: 360 kB / 489.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.17, allocations: 173.5 kB / 489.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1702, allocations: 61.67 kB / 490 MB, free: 11.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1703, allocations: 341.9 kB / 490.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006719/0.171, allocations: 281.1 kB / 490.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000785/0.1718, allocations: 441.7 kB / 491 MB, free: 10.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.1732, allocations: 0.7131 MB / 491.8 MB, free: 9.938 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.1732, allocations: 4 kB / 491.8 MB, free: 9.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001922/0.1751, allocations: 0.8655 MB / 492.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.1753, allocations: 221.7 kB / 492.8 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.1753, allocations: 8 kB / 492.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002596/0.1756, allocations: 60.81 kB / 492.9 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/0.1765, allocations: 203.7 kB / 493.1 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.178, allocations: 1.499 MB / 494.6 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.1786, allocations: 95.53 kB / 494.7 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/0.1787, allocations: 20 kB / 494.7 MB, free: 6.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.1787, allocations: 8 kB / 494.7 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00158/0.1803, allocations: 0.742 MB / 495.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1803, allocations: 4.531 kB / 495.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.1805, allocations: 60.81 kB / 495.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008192/0.1813, allocations: 199.7 kB / 495.7 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.1826, allocations: 1.499 MB / 497.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.1833, allocations: 83.8 kB / 497.3 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/0.1833, allocations: 24 kB / 497.3 MB, free: 4.012 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 (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004257/0.1838, allocations: 290.3 kB / 497.6 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.184, allocations: 75.06 kB / 497.7 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.1842, allocations: 90.22 kB / 497.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1842, allocations: 4 kB / 497.8 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.1842, allocations: 4 kB / 497.8 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.1843, allocations: 3.984 kB / 497.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.1858, allocations: 0.8647 MB / 498.7 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1858, allocations: 4 kB / 498.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/0.1865, allocations: 111.9 kB / 498.8 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.1865, allocations: 4 kB / 498.8 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.249e-05/0.1866, allocations: 16 kB / 498.8 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.168e-06/0.1866, allocations: 4 kB / 498.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.1866, allocations: 3.938 kB / 498.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.1888, allocations: 1.203 MB / 500 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/0.189, allocations: 196.2 kB / 0.4885 GB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.1892, allocations: 12 kB / 0.4885 GB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006019/0.1898, allocations: 63.94 kB / 0.4885 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.1899, allocations: 47.81 kB / 0.4886 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.19, allocations: 8 kB / 0.4886 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007608/0.1907, allocations: 463 kB / 0.489 GB, free: 476 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1907, allocations: 0 / 0.489 GB, free: 476 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009318/0.1917, allocations: 196 kB / 0.4892 GB, free: 280 kB / 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.0001706/0.1919, allocations: 119.1 kB / 0.4893 GB, free: 148 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002924/0.1948, allocations: 1.246 MB / 0.4906 GB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1948, allocations: 0 / 0.4906 GB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006891/0.1955, allocations: 311.8 kB / 0.4908 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.1968, allocations: 179.6 kB / 0.491 GB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.1999, allocations: 1.846 MB / 0.4928 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008196/0.2008, allocations: 0.9576 MB / 0.4938 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.2011, allocations: 43.44 kB / 0.4938 GB, free: 11.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.2011, allocations: 0 / 0.4938 GB, free: 11.48 MB / 382.1 MB Notification: Performance of Templates: time 0.01795/0.219, allocations: 9.973 MB / 0.5035 GB, free: 1.539 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches