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.0008628/0.0008627, allocations: 94.02 kB / 17 MB, free: 6.355 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.001141/0.001141, allocations: 183.4 kB / 17.89 MB, free: 5.926 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.51/1.51, allocations: 223.2 MB / 241.9 MB, free: 332 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.2371/0.2371, allocations: 44.25 MB / 337.3 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 9 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1175, allocations: 61.93 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003061/0.1206, allocations: 2.82 MB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.1234, allocations: 1.47 MB / 475.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004949/0.1239, allocations: 23.88 kB / 475.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000629/0.1246, allocations: 103.2 kB / 476 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004763/0.1251, allocations: 159 kB / 476.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1263, allocations: 417.3 kB / 476.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.1274, allocations: 0.7718 MB / 477.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004/0.1278, allocations: 173 kB / 477.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004106/0.1282, allocations: 290.6 kB / 477.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004243/0.1286, allocations: 334.3 kB / 478.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.1287, allocations: 24 kB / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.061e-05/0.1288, allocations: 20 kB / 478.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.129, allocations: 143.4 kB / 478.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1291, allocations: 137.3 kB / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.1295, allocations: 0.53 MB / 479 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1296, allocations: 0 / 479 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1296, allocations: 0 / 479 MB, free: 6.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.485e-06/0.1296, allocations: 0 / 479 MB, free: 6.297 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.001986/0.1316, allocations: 1.059 MB / 480 MB, free: 5.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1316, allocations: 8.031 kB / 480 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.1318, allocations: 94.97 kB / 480.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008579/0.1326, allocations: 0.5304 MB / 480.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.1327, allocations: 37 kB / 480.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.1328, allocations: 59.89 kB / 480.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.134, allocations: 0.6213 MB / 481.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.134, allocations: 0 / 481.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.1341, allocations: 27.94 kB / 481.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1341, allocations: 12 kB / 481.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.1351, allocations: 0.4944 MB / 481.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/0.1389, allocations: 2.651 MB / 484.6 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.1401, allocations: 0.578 MB / 485.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.1406, allocations: 274.4 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.1407, allocations: 4 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.1407, allocations: 46.59 kB / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.611e-05/0.1408, allocations: 0 / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002536/0.1433, allocations: 1.208 MB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.019e-05/0.1434, allocations: 140.5 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008825/0.1443, allocations: 0.649 MB / 487.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.1444, allocations: 33.7 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.1447, allocations: 360 kB / 487.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.1448, allocations: 177.5 kB / 488 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.1449, allocations: 12 kB / 488 MB, free: 12.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.145, allocations: 334 kB / 488.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005721/0.1456, allocations: 273.1 kB / 488.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006918/0.1463, allocations: 441.1 kB / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/0.147, allocations: 333.1 kB / 489.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.147, allocations: 3.938 kB / 489.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001636/0.1486, allocations: 0.8489 MB / 490.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.1488, allocations: 217.7 kB / 490.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.1488, allocations: 8 kB / 490.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/0.1491, allocations: 60.81 kB / 490.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008473/0.15, allocations: 211.7 kB / 490.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.1513, allocations: 1.495 MB / 492.2 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/0.1518, allocations: 91.53 kB / 492.3 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.1519, allocations: 20.05 kB / 492.3 MB, free: 8.316 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/0.1519, allocations: 8.062 kB / 492.3 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001413/0.1533, allocations: 0.7383 MB / 493 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.1533, allocations: 8.516 kB / 493.1 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.1535, allocations: 56.83 kB / 493.1 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007642/0.1542, allocations: 203.7 kB / 493.3 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.1555, allocations: 1.495 MB / 494.8 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.156, allocations: 87.8 kB / 494.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.156, allocations: 27.98 kB / 494.9 MB, free: 5.559 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000399/0.1564, allocations: 293.7 kB / 495.2 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.1566, allocations: 79.06 kB / 495.3 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.1567, allocations: 90.2 kB / 495.4 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.1567, allocations: 4 kB / 495.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1568, allocations: 4 kB / 495.4 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1568, allocations: 3.984 kB / 495.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.158, allocations: 0.8648 MB / 496.2 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1581, allocations: 7.875 kB / 496.3 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006027/0.1587, allocations: 111.9 kB / 496.4 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.1587, allocations: 4 kB / 496.4 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.1587, allocations: 19.98 kB / 496.4 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1587, allocations: 4 kB / 496.4 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1587, allocations: 0 / 496.4 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.1607, allocations: 1.199 MB / 497.6 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.161, allocations: 196.2 kB / 497.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.32e-05/0.161, allocations: 15.98 kB / 497.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000484/0.1615, allocations: 55.95 kB / 497.9 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.1617, allocations: 47.89 kB / 497.9 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.1617, allocations: 11.98 kB / 497.9 MB, free: 2.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006439/0.1624, allocations: 455 kB / 498.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1624, allocations: 0 / 498.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008435/0.1632, allocations: 196 kB / 498.5 MB, free: 1.82 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.000184/0.1634, allocations: 111.2 kB / 498.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002555/0.166, allocations: 1.256 MB / 499.9 MB, free: 432 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.166, allocations: 0 / 499.9 MB, free: 432 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006089/0.1666, allocations: 311.7 kB / 0.4885 GB, free: 120 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009955/0.1676, allocations: 173.2 kB / 0.4887 GB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.1703, allocations: 1.716 MB / 0.4903 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.1709, allocations: 0.9537 MB / 0.4913 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004949/0.1714, allocations: 132.9 kB / 0.4914 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.1716, allocations: 43.44 kB / 0.4914 GB, free: 13.04 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1716, allocations: 0 / 0.4914 GB, free: 13.04 MB / 382.1 MB Notification: Performance of Templates: time 0.01331/0.1849, allocations: 7.354 MB / 0.4986 GB, free: 5.754 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