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.001365/0.001365, allocations: 204.9 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 226.5 MB / 245.4 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006918/0.0006918, allocations: 103.4 kB / 297.5 MB, free: 6.863 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3558/0.3558, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.000319, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3232, allocations: 62.96 MB / 0.5184 GB, free: 37.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4481, allocations: 89.52 MB / 0.6058 GB, free: 15.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.4483, allocations: 67.95 kB / 0.6059 GB, free: 15.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01721/0.4656, allocations: 6.471 MB / 0.6122 GB, free: 9.242 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4656, allocations: 0 / 0.6122 GB, free: 9.242 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.4656, allocations: 0 / 0.6122 GB, free: 9.242 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.0005112/0.4662, allocations: 439.1 kB / 0.6126 GB, free: 8.762 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4662, allocations: 8.031 kB / 0.6126 GB, free: 8.754 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.4664, allocations: 96.2 kB / 0.6127 GB, free: 8.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.4666, allocations: 235.7 kB / 0.613 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.469e-05/0.4667, allocations: 150.9 kB / 0.6131 GB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.4667, allocations: 154.9 kB / 0.6132 GB, free: 8.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.479e-05/0.4668, allocations: 105.5 kB / 0.6133 GB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.4668, allocations: 75.47 kB / 0.6134 GB, free: 7.906 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.575e-05/0.4669, allocations: 158.5 kB / 0.6136 GB, free: 7.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-05/0.467, allocations: 158.6 kB / 0.6137 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.037e-05/0.467, allocations: 154.5 kB / 0.6139 GB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.4673, allocations: 438 kB / 0.6143 GB, free: 6.965 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.463e-05/0.4674, allocations: 173.1 kB / 0.6144 GB, free: 6.785 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.4675, allocations: 80.14 kB / 0.6145 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.4675, allocations: 79.28 kB / 0.6146 GB, free: 6.625 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.4676, allocations: 109.8 kB / 0.6147 GB, free: 6.508 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4676, allocations: 0 / 0.6147 GB, free: 6.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 7.261e-05/0.4676, allocations: 33.62 kB / 0.6147 GB, free: 6.469 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.4677, allocations: 182.1 kB / 0.6149 GB, free: 6.266 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.214e-05/0.4678, allocations: 97.86 kB / 0.615 GB, free: 6.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.4678, allocations: 25.7 kB / 0.615 GB, free: 6.129 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.4679, allocations: 80.14 kB / 0.6151 GB, free: 6.047 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.4679, allocations: 0 / 0.6151 GB, free: 6.047 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-07/0.4679, allocations: 0 / 0.6151 GB, free: 6.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.468, allocations: 310.8 kB / 0.6154 GB, free: 5.734 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-06/0.468, allocations: 4 kB / 0.6154 GB, free: 5.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.468, allocations: 13.84 kB / 0.6154 GB, free: 5.711 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.677e-05/0.4681, allocations: 75.28 kB / 0.6155 GB, free: 5.637 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.709e-05/0.4681, allocations: 79.27 kB / 0.6156 GB, free: 5.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.982e-05/0.4682, allocations: 33.64 kB / 0.6156 GB, free: 5.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.4682, allocations: 79.28 kB / 0.6157 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/0.4682, allocations: 83.22 kB / 0.6158 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.364e-05/0.4683, allocations: 166.5 kB / 0.6159 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.498e-05/0.4683, allocations: 75.45 kB / 0.616 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-05/0.4684, allocations: 162.5 kB / 0.6161 GB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.4685, allocations: 83.27 kB / 0.6162 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.4685, allocations: 75.28 kB / 0.6163 GB, free: 4.805 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.0001202/0.4687, allocations: 264.3 kB / 0.6165 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.4687, allocations: 112.9 kB / 0.6166 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.4688, allocations: 112 kB / 0.6168 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.373e-05/0.4689, allocations: 184.2 kB / 0.6169 GB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.808e-05/0.4689, allocations: 176.3 kB / 0.6171 GB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.27e-05/0.469, allocations: 176.3 kB / 0.6173 GB, free: 3.754 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.4692, allocations: 409.2 kB / 0.6177 GB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.63e-05/0.4693, allocations: 106.3 kB / 0.6178 GB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.4693, allocations: 104.9 kB / 0.6179 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.958e-05/0.4694, allocations: 176.3 kB / 0.618 GB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/0.4695, allocations: 184.2 kB / 0.6182 GB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.248e-05/0.4695, allocations: 180.2 kB / 0.6184 GB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.19e-05/0.4696, allocations: 188.2 kB / 0.6186 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.4697, allocations: 303.8 kB / 0.6188 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.4698, allocations: 178.1 kB / 0.619 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.121e-05/0.4699, allocations: 200.1 kB / 0.6192 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.47, allocations: 109.4 kB / 0.6193 GB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.47, allocations: 180.2 kB / 0.6195 GB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.4701, allocations: 101 kB / 0.6196 GB, free: 1.211 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.839e-05/0.4701, allocations: 75.28 kB / 0.6196 GB, free: 1.137 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4701, allocations: 0 / 0.6196 GB, free: 1.137 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007429/0.4709, allocations: 171.8 kB / 0.6198 GB, free: 0.9688 MB / 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.0009939/0.4719, allocations: 0.5587 MB / 0.6204 GB, free: 468 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.581e-05/0.4719, allocations: 4 kB / 0.6204 GB, free: 464 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4719, allocations: 0 / 0.6204 GB, free: 464 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.472, allocations: 3.938 kB / 0.6204 GB, free: 460 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.4724, allocations: 0.5263 MB / 0.6209 GB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001899/0.4726, allocations: 142 kB / 0.621 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.4729, allocations: 0.6692 MB / 0.6217 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.03e-05/0.4729, allocations: 0 / 0.6217 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.194e-05/0.4729, allocations: 11.44 kB / 0.6217 GB, free: 15.04 MB / 442.7 MB Notification: Performance of SimCode: time 4.1e-07/0.4729, allocations: 0 / 0.6217 GB, free: 15.04 MB / 442.7 MB Notification: Performance of Templates: time 0.006038/0.4789, allocations: 2.931 MB / 0.6245 GB, free: 12.12 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/jenkins1/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