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.0008887/0.0008887, allocations: 177.8 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008311/0.0008314, allocations: 94.69 kB / 261.8 MB, free: 1.688 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.1763/0.1763, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.287e-05/1.289e-05, allocations: 4 kB / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 58.86 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3492/0.4554, allocations: 95.2 MB / 0.5589 GB, free: 416 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.4556, allocations: 68.88 kB / 0.559 GB, free: 384 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05663/0.5122, allocations: 20.01 MB / 0.5785 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.609e-06/0.5123, allocations: 0.75 kB / 0.5785 GB, free: 15.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.956e-05/0.5124, allocations: 19.94 kB / 0.5785 GB, free: 15.64 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.001679/0.5141, allocations: 0.9524 MB / 0.5794 GB, free: 14.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5141, allocations: 8.031 kB / 0.5794 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.5143, allocations: 94.89 kB / 0.5795 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009226/0.5152, allocations: 0.5574 MB / 0.5801 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.5152, allocations: 16 kB / 0.5801 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.5153, allocations: 39.39 kB / 0.5801 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005939/0.5159, allocations: 334.2 kB / 0.5805 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007943/0.5167, allocations: 0.4968 MB / 0.5809 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.5168, allocations: 0 / 0.5809 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/0.5168, allocations: 7.953 kB / 0.5809 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.5169, allocations: 8 kB / 0.581 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003316/0.5202, allocations: 2.577 MB / 0.5835 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000747/0.5209, allocations: 452.1 kB / 0.5839 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.5212, allocations: 191.6 kB / 0.5841 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.443e-05/0.5213, allocations: 8 kB / 0.5841 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.5213, allocations: 38.38 kB / 0.5841 GB, free: 10.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.5213, allocations: 0 / 0.5841 GB, free: 10.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001292/0.5226, allocations: 0.7783 MB / 0.5849 GB, free: 9.836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.5227, allocations: 136.5 kB / 0.585 GB, free: 9.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.5233, allocations: 0.4942 MB / 0.5855 GB, free: 9.285 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.5233, allocations: 25.7 kB / 0.5855 GB, free: 9.254 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.5235, allocations: 367 kB / 0.5859 GB, free: 9.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.5237, allocations: 162.8 kB / 0.586 GB, free: 8.887 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.5237, allocations: 0 / 0.586 GB, free: 8.887 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5239, allocations: 386.7 kB / 0.5864 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.5242, allocations: 189.1 kB / 0.5866 GB, free: 8.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.5245, allocations: 338.4 kB / 0.5869 GB, free: 8.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.5249, allocations: 227.7 kB / 0.5871 GB, free: 7.949 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5249, allocations: 0 / 0.5871 GB, free: 7.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009975/0.5259, allocations: 0.6388 MB / 0.5877 GB, free: 7.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006594/0.5266, allocations: 1.744 MB / 0.5895 GB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.5266, allocations: 4 kB / 0.5895 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/0.5268, allocations: 63.38 kB / 0.5895 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000926/0.5277, allocations: 210.7 kB / 0.5897 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.529, allocations: 1.442 MB / 0.5911 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/0.5296, allocations: 83.72 kB / 0.5912 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.5296, allocations: 30.88 kB / 0.5912 GB, free: 3.742 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.5296, allocations: 4 kB / 0.5912 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008569/0.5305, allocations: 0.5295 MB / 0.5918 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5305, allocations: 4 kB / 0.5918 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001373/0.5307, allocations: 65 kB / 0.5918 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008449/0.5315, allocations: 194.7 kB / 0.592 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.5328, allocations: 1.438 MB / 0.5934 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005798/0.5333, allocations: 79.69 kB / 0.5935 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.5334, allocations: 23.19 kB / 0.5935 GB, free: 1.52 MB / 394.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.0001822/0.5336, allocations: 123.9 kB / 0.5936 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.5338, allocations: 79.05 kB / 0.5937 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.534, allocations: 86.2 kB / 0.5938 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.534, allocations: 7.938 kB / 0.5938 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.534, allocations: 0 / 0.5938 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.534, allocations: 4 kB / 0.5938 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.5351, allocations: 0.7462 MB / 0.5945 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5351, allocations: 4 kB / 0.5945 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/0.5358, allocations: 114.8 kB / 0.5946 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.5358, allocations: 4 kB / 0.5946 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.5358, allocations: 11.36 kB / 0.5947 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.5358, allocations: 4 kB / 0.5947 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.5359, allocations: 3.938 kB / 0.5947 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.537, allocations: 0.9569 MB / 0.5956 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.5372, allocations: 196.1 kB / 0.5958 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.963e-05/0.5373, allocations: 10.55 kB / 0.5958 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005472/0.5378, allocations: 59.94 kB / 0.5958 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.5379, allocations: 35.81 kB / 0.5959 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.538, allocations: 11.19 kB / 0.5959 GB, free: 15.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004072/0.5384, allocations: 382.5 kB / 0.5963 GB, free: 15.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5384, allocations: 4 kB / 0.5963 GB, free: 15.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007798/0.5392, allocations: 176 kB / 0.5964 GB, free: 14.96 MB / 410.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.0001781/0.5394, allocations: 122.9 kB / 0.5965 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.5409, allocations: 0.9789 MB / 0.5975 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5409, allocations: 0 / 0.5975 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.5413, allocations: 212.8 kB / 0.5977 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008679/0.5421, allocations: 164.9 kB / 0.5979 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.5442, allocations: 1.183 MB / 0.599 GB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.5448, allocations: 0.9687 MB / 0.6 GB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006823/0.5454, allocations: 191.1 kB / 0.6001 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.5456, allocations: 35.44 kB / 0.6002 GB, free: 11.48 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5456, allocations: 0 / 0.6002 GB, free: 11.48 MB / 410.7 MB Notification: Performance of Templates: time 0.01382/0.5594, allocations: 8.143 MB / 0.6081 GB, free: 3.383 MB / 410.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