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.001278/0.001278, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.11 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 83.55 kB / 417.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.118, allocations: 62.44 MB / 479.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001807/0.1198, allocations: 0.5411 MB / 480.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.123, allocations: 2.19 MB / 482.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.232e-05/0.123, allocations: 0 / 482.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.1231, allocations: 0 / 482.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.032e-05/0.1231, allocations: 0 / 482.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.1242, allocations: 307.3 kB / 483 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.093e-05/0.1242, allocations: 0 / 483 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.1243, allocations: 0 / 483 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.424e-05/0.1243, allocations: 4 kB / 483 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03328/0.1576, allocations: 3.193 MB / 486.2 MB, free: 12 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1576, allocations: 0 / 486.2 MB, free: 12 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.1577, allocations: 4 kB / 486.2 MB, free: 8 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.1577, allocations: 0 / 486.2 MB, free: 8 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.1577, allocations: 0 / 486.2 MB, free: 8 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.157e-05/0.1578, allocations: 16.02 kB / 486.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1579, allocations: 4 kB / 486.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1579, allocations: 4 kB / 486.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.1579, allocations: 0 / 486.2 MB, free: 15.98 MB / 366.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.0003068/0.1582, allocations: 319.5 kB / 486.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.1583, allocations: 12.88 kB / 486.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.1585, allocations: 84.2 kB / 486.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.1586, allocations: 239.7 kB / 486.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.1587, allocations: 162.9 kB / 487 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.1588, allocations: 154.7 kB / 487.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.92e-05/0.1589, allocations: 101 kB / 487.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.1589, allocations: 75.28 kB / 487.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.068e-05/0.159, allocations: 150.6 kB / 487.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.566e-05/0.159, allocations: 150.6 kB / 487.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.574e-05/0.1591, allocations: 158.4 kB / 487.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.1594, allocations: 449.9 kB / 488.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.463e-05/0.1595, allocations: 165.1 kB / 488.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.1596, allocations: 84.08 kB / 488.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.1596, allocations: 83.22 kB / 488.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.1597, allocations: 113.8 kB / 488.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1597, allocations: 0 / 488.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.423e-05/0.1597, allocations: 25.7 kB / 488.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/0.1598, allocations: 182.1 kB / 488.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.1599, allocations: 97.84 kB / 488.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.16, allocations: 25.7 kB / 489 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.16, allocations: 84.27 kB / 489 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.16, allocations: 0 / 489 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.16, allocations: 13.72 kB / 489 MB, free: 12.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1602, allocations: 310.8 kB / 489.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-06/0.1602, allocations: 0 / 489.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.1602, allocations: 17.7 kB / 489.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.1602, allocations: 83.28 kB / 489.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.277e-05/0.1603, allocations: 79.31 kB / 489.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.829e-05/0.1603, allocations: 33.64 kB / 489.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.95e-05/0.1604, allocations: 87.27 kB / 489.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.1604, allocations: 75.28 kB / 489.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.618e-05/0.1605, allocations: 154.5 kB / 489.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.411e-05/0.1605, allocations: 75.28 kB / 489.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.886e-05/0.1606, allocations: 158.5 kB / 490.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.774e-05/0.1607, allocations: 83.28 kB / 490.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1607, allocations: 75.28 kB / 490.3 MB, free: 11.65 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.1608, allocations: 264.4 kB / 490.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.1609, allocations: 108.9 kB / 490.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.161, allocations: 104.1 kB / 490.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.002e-05/0.161, allocations: 188.2 kB / 490.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.557e-05/0.1611, allocations: 180.3 kB / 491.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.274e-05/0.1612, allocations: 184.2 kB / 491.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.1614, allocations: 405.1 kB / 491.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-05/0.1615, allocations: 101 kB / 491.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.1615, allocations: 108.9 kB / 491.9 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.309e-05/0.1616, allocations: 184.2 kB / 492 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/0.1617, allocations: 184.3 kB / 492.2 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-05/0.1617, allocations: 180.2 kB / 492.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-05/0.1618, allocations: 176.3 kB / 492.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.1619, allocations: 320 kB / 492.9 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.162, allocations: 186.1 kB / 493.1 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.1621, allocations: 180.3 kB / 493.2 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1622, allocations: 101 kB / 493.3 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.1623, allocations: 188.2 kB / 493.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.1624, allocations: 109 kB / 493.6 MB, free: 8.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.051e-05/0.1624, allocations: 75.28 kB / 493.7 MB, free: 7.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1624, allocations: 0 / 493.7 MB, free: 7.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1627, allocations: 0 / 493.7 MB, free: 7.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001287/0.1628, allocations: 166.5 kB / 493.9 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.578e-05/0.1629, allocations: 7.938 kB / 493.9 MB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1629, allocations: 0 / 493.9 MB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.1629, allocations: 4.094 kB / 493.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.1633, allocations: 0.5263 MB / 494.4 MB, free: 7.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.1635, allocations: 175.9 kB / 494.6 MB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1638, allocations: 0.6692 MB / 495.2 MB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-06/0.1638, allocations: 7.438 kB / 495.2 MB, free: 6.355 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1638, allocations: 0 / 495.2 MB, free: 6.355 MB / 366.1 MB Notification: Performance of Templates: time 0.001518/0.1653, allocations: 367.2 kB / 495.6 MB, free: 6 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches