Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001014/0.001014, allocations: 182 kB / 17.41 MB, free: 4.406 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.205/1.205, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007245/0.0007244, allocations: 89.05 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3087/0.3087, allocations: 43.56 MB / 363.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 12 kB / 432.6 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3253/0.4427, allocations: 96.03 MB / 0.5737 GB, free: 6.371 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.443, allocations: 67.97 kB / 0.5738 GB, free: 6.305 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05946/0.5025, allocations: 20.19 MB / 0.5935 GB, free: 2.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5025, allocations: 0 / 0.5935 GB, free: 2.113 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001017/0.5026, allocations: 20.38 kB / 0.5935 GB, free: 2.094 MB / 410.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.002966/0.5056, allocations: 1.091 MB / 0.5946 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.5057, allocations: 12.03 kB / 0.5946 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003569/0.506, allocations: 91.84 kB / 0.5947 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.5077, allocations: 0.6256 MB / 0.5953 GB, free: 188 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.362e-05/0.5078, allocations: 37.38 kB / 0.5953 GB, free: 148 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.508, allocations: 56.28 kB / 0.5954 GB, free: 92 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.5094, allocations: 0.6335 MB / 0.596 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.5094, allocations: 4.125 kB / 0.596 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.2e-05/0.5095, allocations: 27.94 kB / 0.596 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.5095, allocations: 12 kB / 0.596 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.5107, allocations: 497.8 kB / 0.5965 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004284/0.515, allocations: 2.665 MB / 0.5991 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.5162, allocations: 0.5895 MB / 0.5997 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005829/0.5168, allocations: 270.5 kB / 0.5999 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.675e-05/0.5169, allocations: 8 kB / 0.6 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.066e-05/0.517, allocations: 38.56 kB / 0.6 GB, free: 11.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 7.254e-06/0.517, allocations: 3.984 kB / 0.6 GB, free: 11.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002816/0.5198, allocations: 1.202 MB / 0.6012 GB, free: 9.953 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.5199, allocations: 140.5 kB / 0.6013 GB, free: 9.785 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.521, allocations: 0.6529 MB / 0.6019 GB, free: 9.125 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/0.5211, allocations: 37.7 kB / 0.602 GB, free: 9.082 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.5214, allocations: 356 kB / 0.6023 GB, free: 8.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.5215, allocations: 177.4 kB / 0.6025 GB, free: 8.555 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.5216, allocations: 16 kB / 0.6025 GB, free: 8.539 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5217, allocations: 333.9 kB / 0.6028 GB, free: 8.207 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000641/0.5224, allocations: 285.1 kB / 0.6031 GB, free: 7.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007137/0.5231, allocations: 440.7 kB / 0.6035 GB, free: 7.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.5244, allocations: 0.7054 MB / 0.6042 GB, free: 6.664 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5244, allocations: 0 / 0.6042 GB, free: 6.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00191/0.5263, allocations: 0.8584 MB / 0.605 GB, free: 5.797 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.5265, allocations: 229.9 kB / 0.6053 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5265, allocations: 4 kB / 0.6053 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/0.5268, allocations: 60.81 kB / 0.6053 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009662/0.5278, allocations: 203.7 kB / 0.6055 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.5292, allocations: 1.491 MB / 0.607 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/0.53, allocations: 103.5 kB / 0.6071 GB, free: 3.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.5301, allocations: 24 kB / 0.6071 GB, free: 3.488 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.5301, allocations: 4 kB / 0.6071 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001595/0.5317, allocations: 0.7353 MB / 0.6078 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.5317, allocations: 8.469 kB / 0.6078 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.5319, allocations: 64.81 kB / 0.6079 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/0.5328, allocations: 203.7 kB / 0.6081 GB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.5341, allocations: 1.503 MB / 0.6095 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007536/0.5349, allocations: 83.78 kB / 0.6096 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.535, allocations: 24 kB / 0.6096 GB, free: 0.7344 MB / 426.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.0005434/0.5355, allocations: 300.8 kB / 0.6099 GB, free: 440 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.5358, allocations: 75.11 kB / 0.61 GB, free: 364 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.536, allocations: 90.28 kB / 0.6101 GB, free: 272 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.536, allocations: 4 kB / 0.6101 GB, free: 268 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.536, allocations: 0 / 0.6101 GB, free: 268 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5361, allocations: 7.984 kB / 0.6101 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.5376, allocations: 0.8492 MB / 0.6109 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5377, allocations: 0 / 0.6109 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/0.5383, allocations: 111.9 kB / 0.611 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.118e-06/0.5384, allocations: 8 kB / 0.611 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.5384, allocations: 12 kB / 0.6111 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.5384, allocations: 7.984 kB / 0.6111 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5384, allocations: 0 / 0.6111 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.5406, allocations: 1.199 MB / 0.6122 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/0.541, allocations: 200.1 kB / 0.6124 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.5411, allocations: 19.98 kB / 0.6124 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/0.5417, allocations: 67.94 kB / 0.6125 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.5419, allocations: 39.83 kB / 0.6125 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.5419, allocations: 15.98 kB / 0.6126 GB, free: 13.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008589/0.5428, allocations: 459 kB / 0.613 GB, free: 13.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5428, allocations: 4 kB / 0.613 GB, free: 13.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001096/0.5439, allocations: 208 kB / 0.6132 GB, free: 12.98 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 () * 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.0002379/0.5441, allocations: 115.1 kB / 0.6133 GB, free: 12.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002957/0.5471, allocations: 1.256 MB / 0.6145 GB, free: 11.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.5471, allocations: 64 / 0.6145 GB, free: 11.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006746/0.5478, allocations: 305.2 kB / 0.6148 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.5492, allocations: 179.4 kB / 0.615 GB, free: 11.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.5526, allocations: 1.776 MB / 0.6167 GB, free: 9.301 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007034/0.5533, allocations: 0.9459 MB / 0.6177 GB, free: 8.328 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.5537, allocations: 55.42 kB / 0.6177 GB, free: 8.273 MB / 442.7 MB Notification: Performance of SimCode: time 7.12e-07/0.5537, allocations: 0 / 0.6177 GB, free: 8.273 MB / 442.7 MB Notification: Performance of Templates: time 0.01821/0.5719, allocations: 10.16 MB / 0.6276 GB, free: 14.15 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches