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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009946/0.0009947, allocations: 94.53 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009265/0.0009266, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 45.92 MB / 344 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 8 kB / 417.9 MB, free: 20.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1466, allocations: 63.46 MB / 481.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0008103/0.1475, allocations: 201.2 kB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.1507, allocations: 2.009 MB / 483.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.541e-05/0.1507, allocations: 0 / 483.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.165e-05/0.1507, allocations: 4 kB / 483.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.518e-05/0.1508, allocations: 0 / 483.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.1518, allocations: 291.2 kB / 483.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.32e-05/0.1518, allocations: 0 / 483.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.1519, allocations: 4 kB / 483.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.712e-05/0.1519, allocations: 0 / 483.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002796/0.1547, allocations: 1.869 MB / 485.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1547, allocations: 3.938 kB / 485.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.445e-05/0.1548, allocations: 8 kB / 485.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-06/0.1548, allocations: 0 / 485.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.1549, allocations: 25.7 kB / 485.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.61e-05/0.1549, allocations: 4 kB / 485.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.155, allocations: 0 / 485.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.155, allocations: 3.938 kB / 485.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.155, allocations: 4 kB / 485.8 MB, free: 1.039 MB / 350.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.0002862/0.1553, allocations: 311.4 kB / 486.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1553, allocations: 8.031 kB / 486.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.1556, allocations: 83.28 kB / 486.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.1557, allocations: 246.3 kB / 486.4 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.1558, allocations: 158.6 kB / 486.6 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.1559, allocations: 154.6 kB / 486.7 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.165e-05/0.1559, allocations: 101 kB / 486.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.156, allocations: 75.28 kB / 486.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/0.1561, allocations: 154.5 kB / 487.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/0.1561, allocations: 154.6 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.885e-05/0.1562, allocations: 154.5 kB / 487.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.1565, allocations: 453.9 kB / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.502e-05/0.1566, allocations: 169.1 kB / 488 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.692e-05/0.1567, allocations: 75.28 kB / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.047e-05/0.1567, allocations: 117.8 kB / 488.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1567, allocations: 0 / 488.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.147e-05/0.1568, allocations: 29.7 kB / 488.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/0.1569, allocations: 178.1 kB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.157, allocations: 93.86 kB / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.157, allocations: 25.7 kB / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.1571, allocations: 80.14 kB / 488.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.1571, allocations: 0 / 488.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.1571, allocations: 128 / 488.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1572, allocations: 318.8 kB / 488.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-06/0.1572, allocations: 0 / 488.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.752e-05/0.1573, allocations: 17.66 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.519e-05/0.1573, allocations: 75.28 kB / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.744e-05/0.1573, allocations: 83.23 kB / 489 MB, free: 13.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.597e-05/0.1574, allocations: 29.7 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.1574, allocations: 83.31 kB / 489.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/0.1575, allocations: 79.22 kB / 489.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.627e-05/0.1575, allocations: 154.6 kB / 489.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.818e-05/0.1576, allocations: 79.27 kB / 489.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-05/0.1576, allocations: 158.4 kB / 489.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-05/0.1577, allocations: 79.28 kB / 489.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.1578, allocations: 79.22 kB / 489.8 MB, free: 12.82 MB / 366.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.0001232/0.1579, allocations: 264.4 kB / 490 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.158, allocations: 108.9 kB / 490.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.158, allocations: 108.1 kB / 490.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.978e-05/0.1581, allocations: 184.2 kB / 490.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-05/0.1582, allocations: 176.3 kB / 490.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-05/0.1582, allocations: 192.2 kB / 490.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.1585, allocations: 397.2 kB / 491.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.84e-05/0.1585, allocations: 101 kB / 491.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.1586, allocations: 112.9 kB / 491.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.407e-05/0.1586, allocations: 176.3 kB / 491.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/0.1587, allocations: 188.2 kB / 491.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.548e-05/0.1588, allocations: 180.2 kB / 491.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.726e-05/0.1589, allocations: 180.3 kB / 492.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.159, allocations: 303.8 kB / 492.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.1591, allocations: 190 kB / 492.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.301e-05/0.1592, allocations: 180.2 kB / 492.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/0.1593, allocations: 105 kB / 492.8 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.1594, allocations: 180.2 kB / 493 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.1594, allocations: 109.4 kB / 493.1 MB, free: 9.234 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.575e-05/0.1595, allocations: 79.28 kB / 493.2 MB, free: 9.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1595, allocations: 4.094 kB / 493.2 MB, free: 9.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1598, allocations: 4 kB / 493.2 MB, free: 9.148 MB / 366.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.0001206/0.1599, allocations: 171 kB / 493.4 MB, free: 8.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.27e-05/0.1599, allocations: 3.938 kB / 493.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.16, allocations: 0 / 493.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.16, allocations: 0 / 493.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1602, allocations: 0.5224 MB / 493.9 MB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.1604, allocations: 154.2 kB / 494 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.1607, allocations: 0.677 MB / 494.7 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.13e-05/0.1607, allocations: 4 kB / 494.7 MB, free: 7.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-06/0.1607, allocations: 7.438 kB / 494.7 MB, free: 7.543 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1607, allocations: 0 / 494.7 MB, free: 7.543 MB / 366.1 MB Notification: Performance of Templates: time 0.002155/0.1629, allocations: 279.3 kB / 495 MB, free: 7.273 MB / 366.1 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