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.000872/0.0008769, allocations: 93.14 kB / 17.35 MB, free: 6.344 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.0008255/0.0008256, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.359/1.359, allocations: 223.3 MB / 242.3 MB, free: 252 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.2221/0.2221, allocations: 44.25 MB / 337.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 8 kB / 410.3 MB, free: 27.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1184, allocations: 61.93 MB / 472.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003636/0.1221, allocations: 2.974 MB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.125, allocations: 1.505 MB / 476.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003984/0.1254, allocations: 19.88 kB / 476.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.1259, allocations: 115.2 kB / 476.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004652/0.1264, allocations: 159 kB / 477 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.1276, allocations: 485.9 kB / 477.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.1286, allocations: 0.8459 MB / 478.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004625/0.1291, allocations: 222.3 kB / 478.5 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004346/0.1296, allocations: 290.5 kB / 478.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.13, allocations: 350.2 kB / 479.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.1301, allocations: 20 kB / 479.2 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.418e-05/0.1302, allocations: 24 kB / 479.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.1304, allocations: 159.2 kB / 479.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.1306, allocations: 319.5 kB / 479.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006096/0.1313, allocations: 0.6769 MB / 480.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1313, allocations: 0 / 480.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1313, allocations: 0 / 480.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1313, allocations: 0 / 480.4 MB, free: 5.211 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.002254/0.1336, allocations: 1.061 MB / 481.4 MB, free: 4.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1336, allocations: 8.031 kB / 481.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.1338, allocations: 87.91 kB / 481.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00088/0.1347, allocations: 0.574 MB / 482.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.1347, allocations: 37.38 kB / 482.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1348, allocations: 52.38 kB / 482.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.1361, allocations: 0.641 MB / 482.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.1361, allocations: 7.906 kB / 482.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.1362, allocations: 16 kB / 482.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.1362, allocations: 16 kB / 482.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.1374, allocations: 0.49 MB / 483.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003773/0.1412, allocations: 2.643 MB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.1425, allocations: 0.5767 MB / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006068/0.1431, allocations: 270.4 kB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.771e-05/0.1431, allocations: 8 kB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1432, allocations: 46.58 kB / 486.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.425e-06/0.1432, allocations: 0 / 486.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002893/0.1461, allocations: 1.21 MB / 488.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.876e-05/0.1462, allocations: 140.4 kB / 488.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009151/0.1471, allocations: 0.6528 MB / 488.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.1472, allocations: 33.7 kB / 488.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.1474, allocations: 364 kB / 489.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.1476, allocations: 169.5 kB / 489.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.1477, allocations: 57.69 kB / 489.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1479, allocations: 341.9 kB / 489.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/0.1486, allocations: 285.1 kB / 490.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008482/0.1494, allocations: 440.5 kB / 490.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.151, allocations: 0.7132 MB / 491.3 MB, free: 9.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.151, allocations: 3.938 kB / 491.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001884/0.1529, allocations: 0.868 MB / 492.1 MB, free: 8.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.1531, allocations: 225.7 kB / 492.3 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.1531, allocations: 7.938 kB / 492.4 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002414/0.1533, allocations: 56.81 kB / 492.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009037/0.1542, allocations: 207.7 kB / 492.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.1558, allocations: 1.491 MB / 494.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/0.1565, allocations: 95.53 kB / 494.2 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.1565, allocations: 24.09 kB / 494.2 MB, free: 6.656 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.1565, allocations: 4 kB / 494.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00161/0.1581, allocations: 0.7421 MB / 495 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1582, allocations: 8.094 kB / 495 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.1583, allocations: 56.81 kB / 495 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/0.1592, allocations: 199.7 kB / 495.2 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.1605, allocations: 1.495 MB / 496.7 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006225/0.1611, allocations: 87.69 kB / 496.8 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/0.1612, allocations: 24 kB / 496.8 MB, free: 3.91 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.0003702/0.1615, allocations: 290.3 kB / 497.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.1617, allocations: 83.08 kB / 497.2 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.1619, allocations: 86.22 kB / 497.3 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.1619, allocations: 4 kB / 497.3 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1619, allocations: 4 kB / 497.3 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.1619, allocations: 3.984 kB / 497.3 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.1632, allocations: 0.8647 MB / 498.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1633, allocations: 0 / 498.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000679/0.1639, allocations: 115.9 kB / 498.3 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-06/0.164, allocations: 4 kB / 498.3 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.164, allocations: 15.98 kB / 498.3 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.164, allocations: 4 kB / 498.3 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.164, allocations: 3.938 kB / 498.3 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.1661, allocations: 1.199 MB / 499.5 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/0.1665, allocations: 192.2 kB / 499.7 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/0.1666, allocations: 19.98 kB / 499.7 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005462/0.1671, allocations: 59.94 kB / 499.8 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.1672, allocations: 39.89 kB / 499.8 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.1673, allocations: 15.92 kB / 499.8 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006473/0.1679, allocations: 463 kB / 0.4885 GB, free: 372 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1679, allocations: 4 kB / 0.4885 GB, free: 368 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008201/0.1688, allocations: 196 kB / 0.4887 GB, free: 172 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.0001938/0.169, allocations: 115.1 kB / 0.4888 GB, free: 44 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002731/0.1717, allocations: 1.246 MB / 0.4901 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1717, allocations: 4.062 kB / 0.4901 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007197/0.1725, allocations: 306.5 kB / 0.4904 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.1737, allocations: 186 kB / 0.4905 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.1766, allocations: 1.813 MB / 0.4923 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.1771, allocations: 0.9459 MB / 0.4932 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004906/0.1776, allocations: 136.8 kB / 0.4934 GB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.1778, allocations: 43.44 kB / 0.4934 GB, free: 11.29 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1778, allocations: 0 / 0.4934 GB, free: 11.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01395/0.1918, allocations: 7.578 MB / 0.5008 GB, free: 3.773 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","/var/lib/jenkins/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