Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001729/0.00173, allocations: 198.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 227.2 MB / 245 MB, free: 7.641 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008654/0.0008655, allocations: 113.3 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3171/0.3171, allocations: 45.24 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.0002619, allocations: 8 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3061, allocations: 63.23 MB / 0.5192 GB, free: 43.75 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.4205, allocations: 89.65 MB / 0.6067 GB, free: 15.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.4208, allocations: 68.66 kB / 0.6068 GB, free: 15.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01929/0.4401, allocations: 7.477 MB / 0.6141 GB, free: 8.469 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4401, allocations: 0 / 0.6141 GB, free: 8.469 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.4401, allocations: 0 / 0.6141 GB, free: 8.469 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005442/0.4407, allocations: 440.4 kB / 0.6145 GB, free: 7.992 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4407, allocations: 8.031 kB / 0.6145 GB, free: 7.984 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.4409, allocations: 87.27 kB / 0.6146 GB, free: 7.898 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.4411, allocations: 246.3 kB / 0.6148 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/0.4411, allocations: 154.5 kB / 0.615 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.4412, allocations: 150.6 kB / 0.6151 GB, free: 7.316 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.106e-05/0.4413, allocations: 105 kB / 0.6152 GB, free: 7.207 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.4413, allocations: 75.28 kB / 0.6153 GB, free: 7.133 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/0.4414, allocations: 150.6 kB / 0.6154 GB, free: 6.984 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.452e-05/0.4414, allocations: 154.6 kB / 0.6156 GB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.197e-05/0.4415, allocations: 150.6 kB / 0.6157 GB, free: 6.684 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.4418, allocations: 453.8 kB / 0.6162 GB, free: 6.191 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.268e-05/0.4418, allocations: 169.1 kB / 0.6163 GB, free: 6.016 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.4419, allocations: 79.28 kB / 0.6164 GB, free: 5.938 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.4419, allocations: 105.8 kB / 0.6165 GB, free: 5.824 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.4419, allocations: 0 / 0.6165 GB, free: 5.824 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 8.145e-05/0.442, allocations: 37.64 kB / 0.6165 GB, free: 5.781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.4421, allocations: 178.1 kB / 0.6167 GB, free: 5.582 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.4422, allocations: 88.98 kB / 0.6168 GB, free: 5.488 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.4423, allocations: 29.83 kB / 0.6168 GB, free: 5.453 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.4423, allocations: 80.14 kB / 0.6169 GB, free: 5.371 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.4423, allocations: 0 / 0.6169 GB, free: 5.371 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.4423, allocations: 4 kB / 0.6169 GB, free: 5.367 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4425, allocations: 310.8 kB / 0.6172 GB, free: 5.055 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-06/0.4425, allocations: 0 / 0.6172 GB, free: 5.055 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.415e-05/0.4425, allocations: 9.719 kB / 0.6172 GB, free: 5.039 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.881e-05/0.4426, allocations: 79.28 kB / 0.6173 GB, free: 4.961 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.009e-05/0.4426, allocations: 83.31 kB / 0.6174 GB, free: 4.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.539e-05/0.4427, allocations: 33.59 kB / 0.6174 GB, free: 4.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.298e-05/0.4427, allocations: 87.27 kB / 0.6175 GB, free: 4.754 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.366e-05/0.4428, allocations: 75.28 kB / 0.6175 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-05/0.4429, allocations: 150.6 kB / 0.6177 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.241e-05/0.4429, allocations: 83.33 kB / 0.6178 GB, free: 4.449 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.456e-05/0.443, allocations: 162.6 kB / 0.6179 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.4431, allocations: 83.16 kB / 0.618 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.4432, allocations: 79.28 kB / 0.6181 GB, free: 4.129 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001372/0.4433, allocations: 264.4 kB / 0.6183 GB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-05/0.4434, allocations: 108.9 kB / 0.6184 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.221e-05/0.4435, allocations: 108 kB / 0.6185 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.33e-05/0.4435, allocations: 180.3 kB / 0.6187 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.705e-05/0.4436, allocations: 180.2 kB / 0.6189 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.411e-05/0.4437, allocations: 189.6 kB / 0.6191 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.4439, allocations: 393.2 kB / 0.6194 GB, free: 2.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.664e-05/0.4439, allocations: 104.9 kB / 0.6195 GB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.444, allocations: 105 kB / 0.6196 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.744e-05/0.444, allocations: 192.1 kB / 0.6198 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/0.4441, allocations: 180.3 kB / 0.62 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.913e-05/0.4442, allocations: 180.2 kB / 0.6202 GB, free: 1.855 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.464e-05/0.4442, allocations: 176.3 kB / 0.6203 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.4444, allocations: 319.8 kB / 0.6206 GB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.4445, allocations: 182.1 kB / 0.6208 GB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.595e-05/0.4445, allocations: 184.6 kB / 0.621 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.4447, allocations: 109 kB / 0.6211 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.4447, allocations: 176.3 kB / 0.6213 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.4448, allocations: 113 kB / 0.6214 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.318e-05/0.4448, allocations: 83.28 kB / 0.6215 GB, free: 468 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4448, allocations: 0 / 0.6215 GB, free: 468 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006719/0.4455, allocations: 167.8 kB / 0.6216 GB, free: 300 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * 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.001186/0.4467, allocations: 0.558 MB / 0.6222 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.735e-05/0.4468, allocations: 4 kB / 0.6222 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4468, allocations: 0 / 0.6222 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.4468, allocations: 0 / 0.6222 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.4471, allocations: 0.5251 MB / 0.6227 GB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00021/0.4473, allocations: 156.5 kB / 0.6228 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.4476, allocations: 0.6731 MB / 0.6235 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.294e-05/0.4476, allocations: 4 kB / 0.6235 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.4476, allocations: 7.438 kB / 0.6235 GB, free: 14.38 MB / 442.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4476, allocations: 0 / 0.6235 GB, free: 14.38 MB / 442.7 MB Notification: Performance of Templates: time 0.006457/0.4541, allocations: 2.894 MB / 0.6263 GB, free: 11.49 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches