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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 175.1 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008929/0.0008929, allocations: 92.2 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1737/0.1737, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.642e-05/1.643e-05, allocations: 0 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3412/0.4493, allocations: 96.03 MB / 0.5884 GB, free: 468 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/0.4495, allocations: 67.97 kB / 0.5885 GB, free: 400 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06114/0.5107, allocations: 20.01 MB / 0.6081 GB, free: 12.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5107, allocations: 0 / 0.6081 GB, free: 12.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.645e-05/0.5108, allocations: 20 kB / 0.6081 GB, free: 12.3 MB / 426.7 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.002325/0.5131, allocations: 0.9506 MB / 0.609 GB, free: 11.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.5132, allocations: 11.98 kB / 0.609 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.5135, allocations: 94.91 kB / 0.6091 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.5146, allocations: 0.5512 MB / 0.6096 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.5146, allocations: 12 kB / 0.6097 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.5147, allocations: 43.89 kB / 0.6097 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006557/0.5154, allocations: 334.5 kB / 0.61 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007889/0.5162, allocations: 497.8 kB / 0.6105 GB, free: 9.688 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.5162, allocations: 7.938 kB / 0.6105 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.5163, allocations: 0 / 0.6105 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.5163, allocations: 12 kB / 0.6105 GB, free: 9.668 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/0.5198, allocations: 2.569 MB / 0.613 GB, free: 7.012 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/0.5205, allocations: 465.5 kB / 0.6135 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.5209, allocations: 182.6 kB / 0.6136 GB, free: 6.344 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.5209, allocations: 4 kB / 0.6136 GB, free: 6.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.5209, allocations: 39.28 kB / 0.6137 GB, free: 6.293 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.884e-06/0.521, allocations: 0 / 0.6137 GB, free: 6.293 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001296/0.5223, allocations: 0.7761 MB / 0.6144 GB, free: 5.504 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.5223, allocations: 136.5 kB / 0.6146 GB, free: 5.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005794/0.5229, allocations: 495.8 kB / 0.615 GB, free: 4.852 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.523, allocations: 25.7 kB / 0.6151 GB, free: 4.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.5232, allocations: 368.6 kB / 0.6154 GB, free: 4.453 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.5234, allocations: 161.6 kB / 0.6156 GB, free: 4.293 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.5234, allocations: 0 / 0.6156 GB, free: 4.293 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.5236, allocations: 390.8 kB / 0.6159 GB, free: 3.902 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.5239, allocations: 189.5 kB / 0.6161 GB, free: 3.719 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.5244, allocations: 341 kB / 0.6164 GB, free: 3.312 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.5247, allocations: 217.3 kB / 0.6167 GB, free: 3.102 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.5247, allocations: 4 kB / 0.6167 GB, free: 3.098 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001054/0.5258, allocations: 0.6415 MB / 0.6173 GB, free: 2.449 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006289/0.5264, allocations: 1.746 MB / 0.619 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.5265, allocations: 4 kB / 0.619 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002186/0.5267, allocations: 64.81 kB / 0.6191 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000967/0.5277, allocations: 203.7 kB / 0.6192 GB, free: 304 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.529, allocations: 1.455 MB / 0.6207 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005831/0.5296, allocations: 79.78 kB / 0.6207 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.5296, allocations: 24 kB / 0.6208 GB, free: 14.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.5296, allocations: 5.25 kB / 0.6208 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009057/0.5305, allocations: 0.5268 MB / 0.6213 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5306, allocations: 8.5 kB / 0.6213 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/0.5307, allocations: 68.77 kB / 0.6214 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008836/0.5316, allocations: 199.7 kB / 0.6216 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.5327, allocations: 1.443 MB / 0.623 GB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005366/0.5333, allocations: 75.78 kB / 0.623 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.5333, allocations: 20 kB / 0.6231 GB, free: 12.17 MB / 442.7 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 () * 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.000162/0.5335, allocations: 128.7 kB / 0.6232 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.5337, allocations: 75.06 kB / 0.6232 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.5339, allocations: 81.7 kB / 0.6233 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.5339, allocations: 11.94 kB / 0.6233 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5339, allocations: 0 / 0.6233 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.5339, allocations: 0 / 0.6233 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.535, allocations: 0.7522 MB / 0.6241 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.535, allocations: 0 / 0.6241 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006753/0.5357, allocations: 123.8 kB / 0.6242 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.5357, allocations: 0 / 0.6242 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.5357, allocations: 11.95 kB / 0.6242 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.5357, allocations: 7.984 kB / 0.6242 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5358, allocations: 0 / 0.6242 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.5369, allocations: 0.951 MB / 0.6251 GB, free: 9.941 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.5371, allocations: 196.2 kB / 0.6253 GB, free: 9.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.314e-05/0.5372, allocations: 4 kB / 0.6253 GB, free: 9.727 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/0.5378, allocations: 55.94 kB / 0.6254 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.5379, allocations: 43.94 kB / 0.6254 GB, free: 9.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.5379, allocations: 11.94 kB / 0.6254 GB, free: 9.617 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004369/0.5384, allocations: 383.1 kB / 0.6258 GB, free: 9.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5384, allocations: 4 kB / 0.6258 GB, free: 9.246 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007816/0.5392, allocations: 172 kB / 0.626 GB, free: 9.078 MB / 442.7 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 () * 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.0001631/0.5394, allocations: 111 kB / 0.6261 GB, free: 8.961 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.541, allocations: 0.9777 MB / 0.627 GB, free: 7.961 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.541, allocations: 3.938 kB / 0.627 GB, free: 7.957 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.5413, allocations: 211.8 kB / 0.6272 GB, free: 7.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008767/0.5422, allocations: 171 kB / 0.6274 GB, free: 7.586 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.5444, allocations: 1.186 MB / 0.6286 GB, free: 6.363 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.545, allocations: 0.9627 MB / 0.6295 GB, free: 5.371 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007259/0.5457, allocations: 187 kB / 0.6297 GB, free: 5.188 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.5458, allocations: 35.44 kB / 0.6297 GB, free: 5.152 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5459, allocations: 0 / 0.6297 GB, free: 5.152 MB / 442.7 MB Notification: Performance of Templates: time 0.01508/0.5609, allocations: 8.116 MB / 0.6376 GB, free: 13.1 MB / 458.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches