Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,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_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009344/0.0009347, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.415/1.415, 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.0007377/0.0007377, allocations: 82.16 kB / 261.7 MB, free: 1.695 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.182/0.182, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.471e-05/1.515e-05, allocations: 4 kB / 418.2 MB, free: 28.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 58.86 MB / 477.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3428/0.4476, allocations: 95.34 MB / 0.559 GB, free: 252 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.4479, allocations: 67.47 kB / 0.5591 GB, free: 220 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07583/0.5237, allocations: 27.85 MB / 0.5863 GB, free: 8.977 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5237, allocations: 4 kB / 0.5863 GB, free: 8.973 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.92e-05/0.5238, allocations: 20 kB / 0.5863 GB, free: 8.953 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.001646/0.5255, allocations: 0.9429 MB / 0.5872 GB, free: 8.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.5255, allocations: 12.02 kB / 0.5872 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.5257, allocations: 94.97 kB / 0.5873 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009063/0.5266, allocations: 0.556 MB / 0.5879 GB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.5266, allocations: 16 kB / 0.5879 GB, free: 7.363 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.5267, allocations: 42.89 kB / 0.5879 GB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005707/0.5273, allocations: 331.4 kB / 0.5882 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/0.528, allocations: 0.4962 MB / 0.5887 GB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.528, allocations: 3.938 kB / 0.5887 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.5281, allocations: 8 kB / 0.5887 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.5281, allocations: 12 kB / 0.5888 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003201/0.5313, allocations: 2.601 MB / 0.5913 GB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.532, allocations: 455.5 kB / 0.5917 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.5322, allocations: 187.1 kB / 0.5919 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.5323, allocations: 15.45 kB / 0.5919 GB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.5323, allocations: 37.94 kB / 0.592 GB, free: 3.809 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 3.276e-06/0.5323, allocations: 96 / 0.592 GB, free: 3.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001179/0.5335, allocations: 0.7699 MB / 0.5927 GB, free: 3.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.5336, allocations: 132.5 kB / 0.5928 GB, free: 2.977 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/0.5341, allocations: 0.4894 MB / 0.5933 GB, free: 2.594 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.5341, allocations: 29.69 kB / 0.5933 GB, free: 2.559 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.5344, allocations: 363.9 kB / 0.5937 GB, free: 2.332 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.5345, allocations: 166 kB / 0.5939 GB, free: 2.191 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.5345, allocations: 4.094 kB / 0.5939 GB, free: 2.188 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5347, allocations: 382.4 kB / 0.5942 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.535, allocations: 193.8 kB / 0.5944 GB, free: 1.719 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.5353, allocations: 351.2 kB / 0.5947 GB, free: 1.387 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.5356, allocations: 239.9 kB / 0.595 GB, free: 1.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.5357, allocations: 0 / 0.595 GB, free: 1.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008453/0.5365, allocations: 0.6242 MB / 0.5956 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007247/0.5372, allocations: 1.751 MB / 0.5973 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5373, allocations: 4 kB / 0.5973 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/0.5373, allocations: 12 kB / 0.5973 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/0.538, allocations: 161.5 kB / 0.5975 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.538, allocations: 11.98 kB / 0.5975 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.5385, allocations: 79.62 kB / 0.5975 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.5386, allocations: 26.44 kB / 0.5976 GB, free: 14.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.5386, allocations: 4 kB / 0.5976 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007519/0.5393, allocations: 0.5141 MB / 0.5981 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5394, allocations: 4 kB / 0.5981 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.5394, allocations: 8 kB / 0.5981 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/0.54, allocations: 152 kB / 0.5982 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.54, allocations: 15.92 kB / 0.5982 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.5405, allocations: 75.58 kB / 0.5983 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.5405, allocations: 23.19 kB / 0.5983 GB, free: 13.96 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0001302/0.5407, allocations: 119.8 kB / 0.5985 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.5408, allocations: 75.06 kB / 0.5985 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.541, allocations: 82.23 kB / 0.5986 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.541, allocations: 4 kB / 0.5986 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.541, allocations: 4 kB / 0.5986 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.541, allocations: 7.984 kB / 0.5986 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009752/0.542, allocations: 0.7543 MB / 0.5994 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.542, allocations: 0 / 0.5994 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006539/0.5427, allocations: 111.3 kB / 0.5995 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5427, allocations: 7.953 kB / 0.5995 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.5427, allocations: 11.05 kB / 0.5995 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.5427, allocations: 4 kB / 0.5995 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5428, allocations: 0 / 0.5995 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.5438, allocations: 0.9588 MB / 0.6004 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.544, allocations: 189.3 kB / 0.6006 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/0.5441, allocations: 11.36 kB / 0.6006 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/0.5447, allocations: 55.94 kB / 0.6007 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/0.5448, allocations: 35.31 kB / 0.6007 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.5448, allocations: 15.81 kB / 0.6007 GB, free: 11.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003815/0.5452, allocations: 382.9 kB / 0.6011 GB, free: 11.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5452, allocations: 0 / 0.6011 GB, free: 11.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007389/0.546, allocations: 175.9 kB / 0.6012 GB, free: 11.42 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.000184/0.5462, allocations: 111 kB / 0.6014 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.5473, allocations: 0.7663 MB / 0.6021 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5473, allocations: 0 / 0.6021 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.5476, allocations: 214.3 kB / 0.6023 GB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009068/0.5485, allocations: 169.6 kB / 0.6025 GB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.5505, allocations: 1.181 MB / 0.6036 GB, free: 9.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.5511, allocations: 0.9725 MB / 0.6046 GB, free: 8.395 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006893/0.5518, allocations: 199 kB / 0.6048 GB, free: 8.199 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.5519, allocations: 35.44 kB / 0.6048 GB, free: 8.164 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.552, allocations: 0 / 0.6048 GB, free: 8.164 MB / 410.7 MB Notification: Performance of Templates: time 0.01252/0.5645, allocations: 7.362 MB / 0.612 GB, free: 0.8398 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches