Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,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_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,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_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009247/0.0009245, allocations: 177.5 kB / 17.41 MB, free: 4.414 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.336/1.336, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0007512/0.0007513, allocations: 93.41 kB / 271.9 MB, free: 8.262 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.3374/0.3374, allocations: 43.56 MB / 363.8 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003753, allocations: 16 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1161, allocations: 58.84 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3283/0.4445, allocations: 96.27 MB / 0.5739 GB, free: 5.992 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4447, allocations: 70.47 kB / 0.574 GB, free: 5.926 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08022/0.525, allocations: 29.43 MB / 0.6027 GB, free: 8.473 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.525, allocations: 0 / 0.6027 GB, free: 8.473 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.794e-05/0.5251, allocations: 27.94 kB / 0.6028 GB, free: 8.445 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.002121/0.5272, allocations: 1.086 MB / 0.6038 GB, free: 7.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5273, allocations: 12.03 kB / 0.6038 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.5274, allocations: 95.75 kB / 0.6039 GB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.5286, allocations: 0.6375 MB / 0.6046 GB, free: 6.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.5287, allocations: 37.38 kB / 0.6046 GB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.5288, allocations: 59.19 kB / 0.6047 GB, free: 6.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.5299, allocations: 0.6179 MB / 0.6053 GB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.53, allocations: 7.938 kB / 0.6053 GB, free: 5.746 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.53, allocations: 16 kB / 0.6053 GB, free: 5.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.5301, allocations: 12 kB / 0.6053 GB, free: 5.719 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.5312, allocations: 485.8 kB / 0.6058 GB, free: 5.246 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003691/0.5349, allocations: 2.677 MB / 0.6084 GB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/0.5359, allocations: 0.5084 MB / 0.6089 GB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.5364, allocations: 271 kB / 0.6091 GB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.578e-05/0.5365, allocations: 8.219 kB / 0.6091 GB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.5365, allocations: 38.8 kB / 0.6092 GB, free: 1.602 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 2.776e-06/0.5365, allocations: 0 / 0.6092 GB, free: 1.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.002419/0.5389, allocations: 1.187 MB / 0.6103 GB, free: 420 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.539, allocations: 110.8 kB / 0.6104 GB, free: 284 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008309/0.5399, allocations: 0.6529 MB / 0.6111 GB, free: 15.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.492e-05/0.5399, allocations: 37.7 kB / 0.6111 GB, free: 15.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.5402, allocations: 356.7 kB / 0.6114 GB, free: 15.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.5403, allocations: 177.5 kB / 0.6116 GB, free: 15.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.5404, allocations: 12 kB / 0.6116 GB, free: 15.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5405, allocations: 334.9 kB / 0.6119 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005972/0.5411, allocations: 281.1 kB / 0.6122 GB, free: 14.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006719/0.5417, allocations: 439.5 kB / 0.6126 GB, free: 13.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.5431, allocations: 0.72 MB / 0.6133 GB, free: 13.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.5431, allocations: 4 kB / 0.6133 GB, free: 13.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001594/0.5447, allocations: 0.8356 MB / 0.6142 GB, free: 12.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.5448, allocations: 217.6 kB / 0.6144 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.5449, allocations: 4 kB / 0.6144 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5449, allocations: 9.031 kB / 0.6144 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009603/0.5458, allocations: 203.7 kB / 0.6146 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.5459, allocations: 11.98 kB / 0.6146 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.5464, allocations: 91.58 kB / 0.6147 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/0.5465, allocations: 28 kB / 0.6147 GB, free: 11.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.5465, allocations: 4 kB / 0.6147 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001349/0.5479, allocations: 0.7308 MB / 0.6154 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5479, allocations: 4 kB / 0.6154 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.5479, allocations: 8 kB / 0.6154 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/0.5487, allocations: 204.1 kB / 0.6156 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.5488, allocations: 8 kB / 0.6156 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.5492, allocations: 95.41 kB / 0.6157 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/0.5493, allocations: 28 kB / 0.6157 GB, free: 10.61 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0003937/0.5497, allocations: 289.4 kB / 0.616 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.5499, allocations: 79.12 kB / 0.6161 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.55, allocations: 94.97 kB / 0.6162 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.55, allocations: 4 kB / 0.6162 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.5501, allocations: 4 kB / 0.6162 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.5501, allocations: 3.984 kB / 0.6162 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.552, allocations: 1.275 MB / 0.6174 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.552, allocations: 0 / 0.6174 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006201/0.5527, allocations: 115.9 kB / 0.6176 GB, free: 8.684 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.5527, allocations: 4 kB / 0.6176 GB, free: 8.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.687e-05/0.5527, allocations: 16 kB / 0.6176 GB, free: 8.664 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.5528, allocations: 4 kB / 0.6176 GB, free: 8.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5528, allocations: 3.984 kB / 0.6176 GB, free: 8.656 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.5547, allocations: 1.203 MB / 0.6188 GB, free: 7.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.5549, allocations: 192.1 kB / 0.6189 GB, free: 7.223 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.352e-05/0.555, allocations: 19.98 kB / 0.619 GB, free: 7.203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005096/0.5555, allocations: 55.95 kB / 0.619 GB, free: 7.148 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.5557, allocations: 43.88 kB / 0.6191 GB, free: 7.105 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.5557, allocations: 15.98 kB / 0.6191 GB, free: 7.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006613/0.5564, allocations: 459 kB / 0.6195 GB, free: 6.645 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5564, allocations: 0 / 0.6195 GB, free: 6.645 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008938/0.5573, allocations: 228 kB / 0.6197 GB, free: 6.422 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.0003037/0.5576, allocations: 160.1 kB / 0.6199 GB, free: 6.258 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002114/0.5597, allocations: 1.029 MB / 0.6209 GB, free: 5.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5597, allocations: 0 / 0.6209 GB, free: 5.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000608/0.5603, allocations: 303.8 kB / 0.6212 GB, free: 4.934 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.5614, allocations: 182.8 kB / 0.6213 GB, free: 4.766 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.5639, allocations: 1.769 MB / 0.6231 GB, free: 2.949 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.5644, allocations: 0.9465 MB / 0.624 GB, free: 1.973 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.5647, allocations: 55.42 kB / 0.6241 GB, free: 1.918 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5647, allocations: 0 / 0.6241 GB, free: 1.918 MB / 442.7 MB Notification: Performance of Templates: time 0.01252/0.5772, allocations: 9.115 MB / 0.633 GB, free: 8.84 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches