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.001021/0.001021, allocations: 177.8 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008076/0.0008076, allocations: 102.2 kB / 292.2 MB, free: 10.91 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.3006/0.3006, allocations: 44.21 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003024, allocations: 15.98 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2901, allocations: 61.89 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.4021, allocations: 96.77 MB / 0.6041 GB, free: 14.35 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.4023, allocations: 71.97 kB / 0.6041 GB, free: 14.28 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0593/0.4616, allocations: 20.18 MB / 0.6238 GB, free: 10.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4617, allocations: 0 / 0.6238 GB, free: 10.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.918e-05/0.4618, allocations: 28.36 kB / 0.6239 GB, free: 10.01 MB / 442.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.002462/0.4643, allocations: 1.078 MB / 0.6249 GB, free: 8.883 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.4643, allocations: 12.03 kB / 0.6249 GB, free: 8.871 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.4646, allocations: 90.97 kB / 0.625 GB, free: 8.781 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.4659, allocations: 0.5859 MB / 0.6256 GB, free: 8.152 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.806e-05/0.466, allocations: 37 kB / 0.6256 GB, free: 8.113 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.4661, allocations: 63.84 kB / 0.6257 GB, free: 8.051 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.4672, allocations: 0.6252 MB / 0.6263 GB, free: 7.375 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.4672, allocations: 4 kB / 0.6263 GB, free: 7.371 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-05/0.4673, allocations: 19.98 kB / 0.6263 GB, free: 7.352 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.4673, allocations: 15.94 kB / 0.6263 GB, free: 7.336 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.4684, allocations: 0.4929 MB / 0.6268 GB, free: 6.848 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003672/0.4721, allocations: 2.667 MB / 0.6294 GB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.4733, allocations: 0.5861 MB / 0.63 GB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/0.4733, allocations: 4.062 kB / 0.63 GB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.4734, allocations: 46.59 kB / 0.63 GB, free: 3.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 2.204e-06/0.4734, allocations: 0 / 0.63 GB, free: 3.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.002521/0.4759, allocations: 1.204 MB / 0.6312 GB, free: 2.195 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.476, allocations: 140.4 kB / 0.6313 GB, free: 2.027 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/0.4769, allocations: 0.5701 MB / 0.6319 GB, free: 1.449 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.477, allocations: 33.7 kB / 0.6319 GB, free: 1.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.4772, allocations: 364 kB / 0.6323 GB, free: 1.047 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.4774, allocations: 177.5 kB / 0.6324 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.4775, allocations: 12 kB / 0.6325 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4776, allocations: 330 kB / 0.6328 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006179/0.4782, allocations: 281.1 kB / 0.633 GB, free: 260 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007466/0.479, allocations: 435.7 kB / 0.6335 GB, free: 15.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007142/0.4797, allocations: 325.2 kB / 0.6338 GB, free: 15.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.4797, allocations: 0 / 0.6338 GB, free: 15.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002047/0.4818, allocations: 0.8625 MB / 0.6346 GB, free: 14.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007916/0.4826, allocations: 1.75 MB / 0.6363 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4826, allocations: 4 kB / 0.6363 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/0.4828, allocations: 64.81 kB / 0.6364 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009421/0.4838, allocations: 207.7 kB / 0.6366 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.4854, allocations: 1.51 MB / 0.6381 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007122/0.4861, allocations: 91.69 kB / 0.6381 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.4862, allocations: 24 kB / 0.6382 GB, free: 10.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.4862, allocations: 4 kB / 0.6382 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001502/0.4877, allocations: 0.7479 MB / 0.6389 GB, free: 9.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.4877, allocations: 4 kB / 0.6389 GB, free: 9.898 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.4879, allocations: 61.34 kB / 0.639 GB, free: 9.836 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008823/0.4888, allocations: 203.7 kB / 0.6392 GB, free: 9.637 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.4901, allocations: 1.511 MB / 0.6406 GB, free: 7.992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007015/0.4908, allocations: 87.8 kB / 0.6407 GB, free: 7.906 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.4909, allocations: 28 kB / 0.6407 GB, free: 7.879 MB / 458.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 () * 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.0004599/0.4913, allocations: 284.9 kB / 0.641 GB, free: 7.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.4915, allocations: 83.02 kB / 0.6411 GB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.4917, allocations: 86.2 kB / 0.6412 GB, free: 7.418 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4918, allocations: 8 kB / 0.6412 GB, free: 7.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4918, allocations: 0 / 0.6412 GB, free: 7.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4918, allocations: 0 / 0.6412 GB, free: 7.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.493, allocations: 0.8415 MB / 0.642 GB, free: 6.512 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4931, allocations: 3.938 kB / 0.642 GB, free: 6.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/0.4937, allocations: 115.9 kB / 0.6421 GB, free: 6.395 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4937, allocations: 0 / 0.6421 GB, free: 6.395 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.4938, allocations: 23.98 kB / 0.6421 GB, free: 6.371 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4938, allocations: 4 kB / 0.6421 GB, free: 6.367 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4938, allocations: 4 kB / 0.6421 GB, free: 6.363 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.4957, allocations: 1.238 MB / 0.6434 GB, free: 5.094 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.496, allocations: 200.1 kB / 0.6435 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/0.496, allocations: 12 kB / 0.6436 GB, free: 4.867 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.4966, allocations: 63.94 kB / 0.6436 GB, free: 4.805 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.4967, allocations: 39.89 kB / 0.6437 GB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.4968, allocations: 12 kB / 0.6437 GB, free: 4.754 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006096/0.4974, allocations: 467 kB / 0.6441 GB, free: 4.305 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4974, allocations: 3.938 kB / 0.6441 GB, free: 4.301 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007921/0.4982, allocations: 208 kB / 0.6443 GB, free: 4.098 MB / 458.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 () * 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.0001548/0.4984, allocations: 111.1 kB / 0.6444 GB, free: 3.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002411/0.5008, allocations: 1.245 MB / 0.6456 GB, free: 2.711 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5008, allocations: 4 kB / 0.6456 GB, free: 2.707 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000602/0.5014, allocations: 308.6 kB / 0.6459 GB, free: 2.406 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008006/0.5022, allocations: 164.3 kB / 0.6461 GB, free: 2.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.5048, allocations: 1.72 MB / 0.6478 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.5053, allocations: 0.9692 MB / 0.6487 GB, free: 15.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005407/0.5058, allocations: 140.8 kB / 0.6489 GB, free: 15.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.506, allocations: 43.44 kB / 0.6489 GB, free: 15.32 MB / 474.7 MB Notification: Performance of SimCode: time 6.91e-07/0.506, allocations: 0 / 0.6489 GB, free: 15.32 MB / 474.7 MB Notification: Performance of Templates: time 0.01237/0.5184, allocations: 7.521 MB / 0.6562 GB, free: 7.875 MB / 474.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