Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.00103, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 171.8 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3896/0.3896, allocations: 43.57 MB / 314.6 MB, free: 9.035 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005567/0.0005568, allocations: 18.97 kB / 383.9 MB, free: 8.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1377, allocations: 58.87 MB / 442.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0006253/0.1383, allocations: 220.4 kB / 443 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.141, allocations: 1.943 MB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.72e-05/0.141, allocations: 0 / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.428e-06/0.1411, allocations: 0 / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.907e-05/0.1411, allocations: 0 / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.1419, allocations: 275.3 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.325e-05/0.1419, allocations: 7.984 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.142, allocations: 4 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.142, allocations: 0 / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003815/0.1458, allocations: 2.423 MB / 447.7 MB, free: 8.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.1458, allocations: 3.938 kB / 447.7 MB, free: 8.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.1459, allocations: 7.984 kB / 447.7 MB, free: 8.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.1459, allocations: 3.984 kB / 447.7 MB, free: 8.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.146, allocations: 25.7 kB / 447.7 MB, free: 8.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.537e-05/0.146, allocations: 8 kB / 447.7 MB, free: 8.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.146, allocations: 0 / 447.7 MB, free: 8.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1461, allocations: 0 / 447.7 MB, free: 8.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1461, allocations: 4 kB / 447.7 MB, free: 8.32 MB / 382.1 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.000291/0.1464, allocations: 311.4 kB / 448 MB, free: 7.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1464, allocations: 8.094 kB / 448 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.1466, allocations: 83.28 kB / 448.1 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.1468, allocations: 242.2 kB / 448.3 MB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.1468, allocations: 162.5 kB / 448.5 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.1469, allocations: 154.5 kB / 448.7 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.281e-05/0.147, allocations: 105 kB / 448.8 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/0.147, allocations: 79.28 kB / 448.8 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/0.1471, allocations: 150.6 kB / 449 MB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.1471, allocations: 154.6 kB / 449.1 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.486e-05/0.1472, allocations: 150.6 kB / 449.3 MB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.1475, allocations: 441.9 kB / 449.7 MB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.873e-05/0.1476, allocations: 181.1 kB / 449.9 MB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.1476, allocations: 84.14 kB / 450 MB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.1477, allocations: 79.23 kB / 450.1 MB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.1477, allocations: 105.8 kB / 450.2 MB, free: 5.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.1477, allocations: 0 / 450.2 MB, free: 5.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.812e-05/0.1478, allocations: 33.64 kB / 450.2 MB, free: 5.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.1479, allocations: 178.1 kB / 450.4 MB, free: 5.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.148, allocations: 97.86 kB / 450.5 MB, free: 5.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.148, allocations: 25.7 kB / 450.5 MB, free: 5.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.148, allocations: 84.14 kB / 450.6 MB, free: 5.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-06/0.148, allocations: 0 / 450.6 MB, free: 5.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.1481, allocations: 0 / 450.6 MB, free: 5.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1482, allocations: 314.8 kB / 450.9 MB, free: 4.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-06/0.1482, allocations: 0 / 450.9 MB, free: 4.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.1482, allocations: 9.719 kB / 450.9 MB, free: 4.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.043e-05/0.1483, allocations: 83.44 kB / 451 MB, free: 4.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.397e-05/0.1483, allocations: 75.28 kB / 451 MB, free: 4.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.91e-05/0.1484, allocations: 29.64 kB / 451.1 MB, free: 4.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.1484, allocations: 87.23 kB / 451.2 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.1484, allocations: 79.28 kB / 451.2 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.948e-05/0.1485, allocations: 154.5 kB / 451.4 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.556e-05/0.1486, allocations: 83.31 kB / 451.5 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.159e-05/0.1486, allocations: 162.5 kB / 451.6 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.1487, allocations: 79.22 kB / 451.7 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.1487, allocations: 75.28 kB / 451.8 MB, free: 4.012 MB / 382.1 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.0001275/0.1489, allocations: 268.4 kB / 452 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.1489, allocations: 104.9 kB / 452.1 MB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/0.149, allocations: 124 kB / 452.3 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.055e-05/0.1491, allocations: 176.3 kB / 452.4 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-05/0.1491, allocations: 180.2 kB / 452.6 MB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.736e-05/0.1492, allocations: 176.3 kB / 452.8 MB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.1494, allocations: 409.2 kB / 453.2 MB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.552e-05/0.1495, allocations: 105 kB / 453.3 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.1495, allocations: 101 kB / 453.4 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.658e-05/0.1496, allocations: 180.2 kB / 453.6 MB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.1497, allocations: 180.3 kB / 453.7 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.225e-05/0.1497, allocations: 196.1 kB / 453.9 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-05/0.1498, allocations: 176.3 kB / 454.1 MB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.1499, allocations: 307.8 kB / 454.4 MB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.936e-05/0.15, allocations: 186.1 kB / 454.6 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.1501, allocations: 184.2 kB / 454.8 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.1502, allocations: 101.4 kB / 454.9 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.1503, allocations: 188.2 kB / 455 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.1503, allocations: 109 kB / 455.1 MB, free: 420 kB / 382.1 MB Notification: Performance of sorting global known variables: time 4.133e-05/0.1504, allocations: 75.28 kB / 455.2 MB, free: 344 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1504, allocations: 0 / 455.2 MB, free: 344 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1506, allocations: 4 kB / 455.2 MB, free: 340 kB / 382.1 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.0001035/0.1507, allocations: 174.5 kB / 455.4 MB, free: 156 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 3.713e-05/0.1508, allocations: 48 / 455.4 MB, free: 156 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1508, allocations: 4.094 kB / 455.4 MB, free: 152 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.895e-06/0.1508, allocations: 3.969 kB / 455.4 MB, free: 148 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2057/0.3565, allocations: 0.5166 MB / 455.9 MB, free: 47.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001925/0.3567, allocations: 148.1 kB / 456.1 MB, free: 47.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.3569, allocations: 0.672 MB / 456.7 MB, free: 47.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.161e-05/0.3569, allocations: 3.047 kB / 456.7 MB, free: 47.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-06/0.3569, allocations: 7.438 kB / 456.7 MB, free: 47.03 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3569, allocations: 0 / 456.7 MB, free: 47.03 MB / 382.1 MB Notification: Performance of Templates: time 0.002113/0.359, allocations: 271.9 kB / 457 MB, free: 47.01 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches