Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001495/0.001495, allocations: 185.8 kB / 16.41 MB, free: 5.723 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.955/1.955, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001126/0.001126, allocations: 88.44 kB / 270.9 MB, free: 8.367 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.5341/0.5341, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004697, allocations: 15.94 kB / 431.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4668/0.5891, allocations: 96.09 MB / 0.5726 GB, free: 6.441 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.5894, allocations: 63.97 kB / 0.5726 GB, free: 6.379 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1333/0.7227, allocations: 28.09 MB / 0.6001 GB, free: 10.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.989e-06/0.7228, allocations: 4 kB / 0.6001 GB, free: 10.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.852e-05/0.7229, allocations: 19.94 kB / 0.6001 GB, free: 10.25 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.003655/0.7266, allocations: 1.09 MB / 0.6011 GB, free: 9.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.7266, allocations: 12.69 kB / 0.6012 GB, free: 9.098 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/0.7269, allocations: 94.88 kB / 0.6012 GB, free: 9.004 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.7287, allocations: 0.5821 MB / 0.6018 GB, free: 8.379 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.681e-05/0.7288, allocations: 38.03 kB / 0.6019 GB, free: 8.344 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.729, allocations: 63.89 kB / 0.6019 GB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.7309, allocations: 0.6329 MB / 0.6025 GB, free: 7.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.7309, allocations: 0 / 0.6025 GB, free: 7.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.003e-05/0.731, allocations: 23.38 kB / 0.6026 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.7311, allocations: 12 kB / 0.6026 GB, free: 7.559 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.7331, allocations: 0.4978 MB / 0.6031 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006064/0.7391, allocations: 2.7 MB / 0.6057 GB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.7413, allocations: 0.5901 MB / 0.6063 GB, free: 3.645 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.04e-05/0.7414, allocations: 8.062 kB / 0.6063 GB, free: 3.637 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.7415, allocations: 34.84 kB / 0.6063 GB, free: 3.594 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 3.126e-06/0.7415, allocations: 0 / 0.6063 GB, free: 3.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.004497/0.746, allocations: 1.218 MB / 0.6075 GB, free: 2.363 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/0.7461, allocations: 132.5 kB / 0.6076 GB, free: 2.203 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.7475, allocations: 0.5741 MB / 0.6082 GB, free: 1.621 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.487e-05/0.7476, allocations: 41.64 kB / 0.6082 GB, free: 1.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.7479, allocations: 366.5 kB / 0.6086 GB, free: 1.211 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.7482, allocations: 177.4 kB / 0.6087 GB, free: 1.035 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/0.7482, allocations: 8 kB / 0.6087 GB, free: 1.027 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7484, allocations: 338.8 kB / 0.6091 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.7496, allocations: 293.1 kB / 0.6094 GB, free: 412 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.7509, allocations: 450 kB / 0.6098 GB, free: 15.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.7522, allocations: 329.9 kB / 0.6101 GB, free: 15.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.7523, allocations: 0 / 0.6101 GB, free: 15.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002858/0.7551, allocations: 0.796 MB / 0.6109 GB, free: 14.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006868/0.7559, allocations: 1.738 MB / 0.6126 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.7559, allocations: 8 kB / 0.6126 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.7559, allocations: 8 kB / 0.6126 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.7573, allocations: 159.8 kB / 0.6127 GB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/0.7573, allocations: 11.94 kB / 0.6127 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.7584, allocations: 91.62 kB / 0.6128 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/0.7585, allocations: 31.95 kB / 0.6129 GB, free: 12.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.7586, allocations: 1.406 kB / 0.6129 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002579/0.7611, allocations: 0.7197 MB / 0.6136 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.7612, allocations: 4 kB / 0.6136 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.7612, allocations: 12.78 kB / 0.6136 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.7624, allocations: 159.7 kB / 0.6137 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.7624, allocations: 8 kB / 0.6137 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/0.7631, allocations: 71.66 kB / 0.6138 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.707e-05/0.7632, allocations: 24 kB / 0.6138 GB, free: 11.6 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.0005394/0.7638, allocations: 285.6 kB / 0.6141 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/0.7641, allocations: 79.02 kB / 0.6142 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.7643, allocations: 90.28 kB / 0.6143 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.7643, allocations: 11.94 kB / 0.6143 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.7644, allocations: 3.938 kB / 0.6143 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.7644, allocations: 4 kB / 0.6143 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.7664, allocations: 0.8414 MB / 0.6151 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.7664, allocations: 0 / 0.6151 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.7677, allocations: 119.9 kB / 0.6152 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.7677, allocations: 4 kB / 0.6152 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-05/0.7678, allocations: 15.92 kB / 0.6152 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.7678, allocations: 4 kB / 0.6152 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7678, allocations: 3.938 kB / 0.6153 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/0.7716, allocations: 1.234 MB / 0.6165 GB, free: 8.812 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.772, allocations: 192.2 kB / 0.6166 GB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.7722, allocations: 19.98 kB / 0.6167 GB, free: 8.586 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.7733, allocations: 67.94 kB / 0.6167 GB, free: 8.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.7735, allocations: 35.94 kB / 0.6168 GB, free: 8.484 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.7735, allocations: 12 kB / 0.6168 GB, free: 8.473 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001149/0.7747, allocations: 466.9 kB / 0.6172 GB, free: 8.023 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7747, allocations: 0 / 0.6172 GB, free: 8.023 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001213/0.7759, allocations: 200 kB / 0.6174 GB, free: 7.828 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.0002399/0.7762, allocations: 123.1 kB / 0.6175 GB, free: 7.699 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003867/0.7801, allocations: 1.018 MB / 0.6185 GB, free: 6.688 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.7801, allocations: 4 kB / 0.6185 GB, free: 6.684 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.7813, allocations: 303.7 kB / 0.6188 GB, free: 6.387 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.783, allocations: 163.8 kB / 0.619 GB, free: 6.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.7873, allocations: 1.762 MB / 0.6207 GB, free: 4.426 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006797/0.7881, allocations: 0.973 MB / 0.6216 GB, free: 3.426 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000476/0.7886, allocations: 59.38 kB / 0.6217 GB, free: 3.367 MB / 442.7 MB Notification: Performance of SimCode: time 2.976e-06/0.7886, allocations: 0 / 0.6217 GB, free: 3.367 MB / 442.7 MB Notification: Performance of Templates: time 0.02093/0.8095, allocations: 8.61 MB / 0.6301 GB, free: 10.8 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches