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.0009673/0.0009673, allocations: 175.9 kB / 16.76 MB, free: 5.047 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.67/1.67, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007993/0.0007995, allocations: 94.23 kB / 271.3 MB, free: 8.254 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.3794/0.3794, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003558, allocations: 12 kB / 432.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3609/0.4925, allocations: 96.17 MB / 0.5739 GB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.4929, allocations: 72.12 kB / 0.5739 GB, free: 5.734 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07963/0.5725, allocations: 28.1 MB / 0.6014 GB, free: 9.625 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5726, allocations: 0 / 0.6014 GB, free: 9.625 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.346e-05/0.5726, allocations: 16 kB / 0.6014 GB, free: 9.609 MB / 426.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.00218/0.5748, allocations: 1.082 MB / 0.6024 GB, free: 8.473 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.5749, allocations: 16.03 kB / 0.6025 GB, free: 8.457 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.575, allocations: 91.81 kB / 0.6026 GB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.5762, allocations: 0.61 MB / 0.6031 GB, free: 7.715 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.5762, allocations: 41.38 kB / 0.6032 GB, free: 7.676 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.5763, allocations: 60.27 kB / 0.6032 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.5774, allocations: 0.6297 MB / 0.6039 GB, free: 6.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.5775, allocations: 8.125 kB / 0.6039 GB, free: 6.922 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/0.5775, allocations: 23.94 kB / 0.6039 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.5776, allocations: 15.98 kB / 0.6039 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.5786, allocations: 0.49 MB / 0.6044 GB, free: 6.395 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003612/0.5822, allocations: 2.708 MB / 0.607 GB, free: 3.586 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.5833, allocations: 0.5736 MB / 0.6076 GB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005374/0.5839, allocations: 270.9 kB / 0.6078 GB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.5839, allocations: 19.86 kB / 0.6079 GB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.584, allocations: 42.5 kB / 0.6079 GB, free: 2.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/0.584, allocations: 0 / 0.6079 GB, free: 2.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002462/0.5865, allocations: 1.202 MB / 0.6091 GB, free: 1.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.5865, allocations: 132.5 kB / 0.6092 GB, free: 1.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008555/0.5874, allocations: 0.6568 MB / 0.6098 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.5875, allocations: 41.64 kB / 0.6099 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.5877, allocations: 348.1 kB / 0.6102 GB, free: 220 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.5879, allocations: 173.5 kB / 0.6104 GB, free: 44 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.5879, allocations: 19.94 kB / 0.6104 GB, free: 24 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.588, allocations: 334 kB / 0.6107 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005877/0.5886, allocations: 293.1 kB / 0.611 GB, free: 15.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006895/0.5893, allocations: 446.3 kB / 0.6114 GB, free: 14.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.5906, allocations: 0.7209 MB / 0.6121 GB, free: 14.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5906, allocations: 4 kB / 0.6121 GB, free: 14.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001566/0.5922, allocations: 0.8337 MB / 0.6129 GB, free: 13.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.5924, allocations: 222.1 kB / 0.6132 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5924, allocations: 8 kB / 0.6132 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.5924, allocations: 8 kB / 0.6132 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/0.5931, allocations: 163.7 kB / 0.6133 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.5932, allocations: 11.98 kB / 0.6133 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/0.5937, allocations: 99.53 kB / 0.6134 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.5938, allocations: 20 kB / 0.6135 GB, free: 12.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.5938, allocations: 4 kB / 0.6135 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001325/0.5951, allocations: 0.7229 MB / 0.6142 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5951, allocations: 7.984 kB / 0.6142 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.5952, allocations: 8.531 kB / 0.6142 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.5958, allocations: 155.7 kB / 0.6143 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.5958, allocations: 8 kB / 0.6143 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/0.5963, allocations: 91.62 kB / 0.6144 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.5963, allocations: 20 kB / 0.6144 GB, free: 11.68 MB / 442.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 (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.0004163/0.5967, allocations: 300.8 kB / 0.6147 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.5969, allocations: 75.06 kB / 0.6148 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.5971, allocations: 82.3 kB / 0.6149 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.5971, allocations: 8 kB / 0.6149 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.5971, allocations: 4 kB / 0.6149 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.5971, allocations: 3.984 kB / 0.6149 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.5983, allocations: 0.8414 MB / 0.6157 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.5984, allocations: 0 / 0.6157 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/0.599, allocations: 119.9 kB / 0.6158 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.599, allocations: 3.938 kB / 0.6158 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.5991, allocations: 15.98 kB / 0.6159 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.5991, allocations: 4 kB / 0.6159 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.5991, allocations: 3.938 kB / 0.6159 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.6011, allocations: 1.207 MB / 0.617 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.6014, allocations: 200.1 kB / 0.6172 GB, free: 8.715 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.254e-05/0.6015, allocations: 15.98 kB / 0.6172 GB, free: 8.699 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.6022, allocations: 59.94 kB / 0.6173 GB, free: 8.641 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.6023, allocations: 51.75 kB / 0.6174 GB, free: 8.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.6024, allocations: 12 kB / 0.6174 GB, free: 8.578 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008112/0.6032, allocations: 463 kB / 0.6178 GB, free: 8.129 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6032, allocations: 0 / 0.6178 GB, free: 8.129 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009921/0.6042, allocations: 208 kB / 0.618 GB, free: 7.926 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.0002/0.6044, allocations: 119.1 kB / 0.6181 GB, free: 7.801 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.6067, allocations: 1.022 MB / 0.6191 GB, free: 6.781 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6067, allocations: 0 / 0.6191 GB, free: 6.781 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006316/0.6074, allocations: 297.3 kB / 0.6194 GB, free: 6.492 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.6085, allocations: 177.9 kB / 0.6196 GB, free: 6.328 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.6113, allocations: 1.721 MB / 0.6212 GB, free: 4.574 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.6119, allocations: 0.9458 MB / 0.6222 GB, free: 3.602 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005803/0.6124, allocations: 152.7 kB / 0.6223 GB, free: 3.449 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.6126, allocations: 51.42 kB / 0.6224 GB, free: 3.398 MB / 442.7 MB Notification: Performance of SimCode: time 4.3e-07/0.6126, allocations: 4 kB / 0.6224 GB, free: 3.395 MB / 442.7 MB Notification: Performance of Templates: time 0.01281/0.6254, allocations: 6.771 MB / 0.629 GB, free: 12.69 MB / 458.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/jenkins1/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