Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 90.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1931/0.1931, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003014, allocations: 8 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4721, allocations: 95.95 MB / 0.5725 GB, free: 3.973 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.4724, allocations: 69.09 kB / 0.5725 GB, free: 3.938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05818/0.5306, allocations: 20.18 MB / 0.5922 GB, free: 2.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.5306, allocations: 0 / 0.5922 GB, free: 2.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.371e-05/0.5307, allocations: 20 kB / 0.5922 GB, free: 2.801 MB / 394.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.00224/0.5329, allocations: 1.096 MB / 0.5933 GB, free: 1.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.533, allocations: 8.031 kB / 0.5933 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.5331, allocations: 94.88 kB / 0.5934 GB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.5343, allocations: 0.5818 MB / 0.594 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.5344, allocations: 40.62 kB / 0.594 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.619e-05/0.5345, allocations: 53.34 kB / 0.5941 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.5357, allocations: 0.6256 MB / 0.5947 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.5357, allocations: 4 kB / 0.5947 GB, free: 468 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.974e-05/0.5358, allocations: 22.05 kB / 0.5947 GB, free: 460 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.5358, allocations: 15.95 kB / 0.5947 GB, free: 444 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.5369, allocations: 0.503 MB / 0.5952 GB, free: 52 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/0.5406, allocations: 2.665 MB / 0.5978 GB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.5418, allocations: 0.5908 MB / 0.5984 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.771e-05/0.5419, allocations: 4.062 kB / 0.5984 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5419, allocations: 42 kB / 0.5984 GB, free: 13.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 3.557e-06/0.5419, allocations: 0 / 0.5984 GB, free: 13.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.002469/0.5444, allocations: 1.216 MB / 0.5996 GB, free: 12.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/0.5445, allocations: 136.5 kB / 0.5998 GB, free: 11.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000829/0.5453, allocations: 0.5789 MB / 0.6003 GB, free: 11.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.5454, allocations: 32.02 kB / 0.6004 GB, free: 11.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.5457, allocations: 361.6 kB / 0.6007 GB, free: 11.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.5458, allocations: 173.5 kB / 0.6009 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.5459, allocations: 14.06 kB / 0.6009 GB, free: 11.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.546, allocations: 328.5 kB / 0.6012 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006389/0.5466, allocations: 288.6 kB / 0.6015 GB, free: 10.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006916/0.5473, allocations: 435.1 kB / 0.6019 GB, free: 10.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006461/0.548, allocations: 322.2 kB / 0.6022 GB, free: 9.906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.548, allocations: 8 kB / 0.6022 GB, free: 9.898 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00164/0.5496, allocations: 0.8657 MB / 0.603 GB, free: 9.211 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006012/0.5503, allocations: 1.745 MB / 0.6047 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.5503, allocations: 7.938 kB / 0.6048 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002296/0.5505, allocations: 62.94 kB / 0.6048 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009487/0.5515, allocations: 203.5 kB / 0.605 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.5528, allocations: 1.515 MB / 0.6065 GB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/0.5535, allocations: 103.4 kB / 0.6066 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/0.5536, allocations: 23.17 kB / 0.6066 GB, free: 5.434 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.5536, allocations: 4 kB / 0.6066 GB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001583/0.5552, allocations: 0.7442 MB / 0.6073 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5552, allocations: 7.938 kB / 0.6073 GB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.5554, allocations: 60.06 kB / 0.6074 GB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009231/0.5563, allocations: 198 kB / 0.6076 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.5577, allocations: 1.511 MB / 0.6091 GB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006973/0.5584, allocations: 88.38 kB / 0.6092 GB, free: 2.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.5584, allocations: 26.06 kB / 0.6092 GB, free: 2.969 MB / 410.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.0005294/0.559, allocations: 285.6 kB / 0.6094 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.5591, allocations: 79.05 kB / 0.6095 GB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.5593, allocations: 85.92 kB / 0.6096 GB, free: 2.598 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5593, allocations: 4 kB / 0.6096 GB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5593, allocations: 0 / 0.6096 GB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5593, allocations: 7.984 kB / 0.6096 GB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.5606, allocations: 0.843 MB / 0.6104 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5606, allocations: 0 / 0.6104 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/0.5613, allocations: 115.3 kB / 0.6106 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5613, allocations: 4 kB / 0.6106 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.5613, allocations: 11.19 kB / 0.6106 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.5613, allocations: 4 kB / 0.6106 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5614, allocations: 0 / 0.6106 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.5633, allocations: 1.23 MB / 0.6118 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.5636, allocations: 200.1 kB / 0.612 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/0.5637, allocations: 22.12 kB / 0.612 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/0.5643, allocations: 67.27 kB / 0.612 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.5644, allocations: 39.19 kB / 0.6121 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.5644, allocations: 11.98 kB / 0.6121 GB, free: 412 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006148/0.5651, allocations: 462.1 kB / 0.6125 GB, free: 56 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5651, allocations: 0 / 0.6125 GB, free: 56 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008866/0.566, allocations: 200 kB / 0.6127 GB, free: 15.88 MB / 426.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.0002128/0.5662, allocations: 122.8 kB / 0.6128 GB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00257/0.5688, allocations: 1.257 MB / 0.6141 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.5688, allocations: 7.938 kB / 0.6141 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006212/0.5694, allocations: 302.9 kB / 0.6144 GB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/0.5703, allocations: 167.4 kB / 0.6145 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.5731, allocations: 1.721 MB / 0.6162 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.5738, allocations: 0.971 MB / 0.6172 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005565/0.5743, allocations: 132.9 kB / 0.6173 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.5745, allocations: 47.42 kB / 0.6173 GB, free: 11.55 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5745, allocations: 4 kB / 0.6173 GB, free: 11.54 MB / 426.7 MB Notification: Performance of Templates: time 0.01295/0.5875, allocations: 7.526 MB / 0.6247 GB, free: 4.062 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches