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.001424/0.001424, allocations: 114.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.001689, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 71.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1297, allocations: 62.45 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001982/0.1317, allocations: 485.2 kB / 481.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.1348, allocations: 2.131 MB / 484.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.622e-05/0.1348, allocations: 4 kB / 484.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.1349, allocations: 0 / 484.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.626e-05/0.1349, allocations: 0 / 484.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.1361, allocations: 402.7 kB / 484.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.395e-05/0.1362, allocations: 0 / 484.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.1362, allocations: 4 kB / 484.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.687e-05/0.1363, allocations: 7.938 kB / 484.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01543/0.1517, allocations: 3.341 MB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.1518, allocations: 4 kB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1519, allocations: 15.83 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.1519, allocations: 0 / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.1519, allocations: 4 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1521, allocations: 7.984 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1521, allocations: 0 / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1521, allocations: 0 / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1521, allocations: 0 / 487.8 MB, free: 14.75 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.0003203/0.1524, allocations: 335.4 kB / 488.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1525, allocations: 8.031 kB / 488.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.1527, allocations: 84.2 kB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.1529, allocations: 243.7 kB / 488.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.168e-05/0.1529, allocations: 150.9 kB / 488.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.153, allocations: 158.7 kB / 488.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.573e-05/0.1531, allocations: 101 kB / 488.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.156e-05/0.1532, allocations: 75.28 kB / 489 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.803e-05/0.1532, allocations: 158.5 kB / 489.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/0.1533, allocations: 154.6 kB / 489.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.289e-05/0.1534, allocations: 154.6 kB / 489.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.1537, allocations: 441.9 kB / 489.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.787e-05/0.1538, allocations: 169.1 kB / 490 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.1538, allocations: 88.08 kB / 490.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.1539, allocations: 79.22 kB / 490.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.487e-05/0.1539, allocations: 109.8 kB / 490.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.663e-06/0.1539, allocations: 0 / 490.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.637e-05/0.154, allocations: 25.7 kB / 490.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.1541, allocations: 178.1 kB / 490.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.1543, allocations: 101.9 kB / 490.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1543, allocations: 25.7 kB / 490.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.1543, allocations: 84.12 kB / 490.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.1544, allocations: 0 / 490.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.1544, allocations: 13.72 kB / 490.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1545, allocations: 310.8 kB / 491 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-06/0.1545, allocations: 0 / 491 MB, free: 11.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-05/0.1546, allocations: 21.78 kB / 491 MB, free: 11.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.854e-05/0.1546, allocations: 79.28 kB / 491.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.734e-05/0.1546, allocations: 75.28 kB / 491.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.935e-05/0.1547, allocations: 29.64 kB / 491.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.1548, allocations: 87.28 kB / 491.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.1548, allocations: 79.27 kB / 491.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.068e-05/0.1549, allocations: 154.5 kB / 491.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.619e-05/0.1549, allocations: 79.31 kB / 491.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.938e-05/0.155, allocations: 158.5 kB / 491.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-05/0.1551, allocations: 83.27 kB / 491.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.991e-05/0.1552, allocations: 75.28 kB / 491.9 MB, free: 10.41 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.0001649/0.1554, allocations: 268.3 kB / 492.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.1554, allocations: 112.9 kB / 492.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.811e-05/0.1555, allocations: 104.1 kB / 492.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.885e-05/0.1556, allocations: 184.2 kB / 492.6 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.039e-05/0.1557, allocations: 176.3 kB / 492.7 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.65e-05/0.1557, allocations: 184.1 kB / 492.9 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.156, allocations: 413.2 kB / 493.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.906e-05/0.1561, allocations: 101 kB / 493.4 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.1562, allocations: 104.9 kB / 493.5 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.453e-05/0.1562, allocations: 176.6 kB / 493.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-05/0.1563, allocations: 188.2 kB / 493.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.099e-05/0.1564, allocations: 180.3 kB / 494.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.726e-05/0.1565, allocations: 184.3 kB / 494.2 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.1567, allocations: 307.7 kB / 494.5 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.232e-05/0.1568, allocations: 190 kB / 494.7 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-05/0.1569, allocations: 180.3 kB / 494.9 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.157, allocations: 101 kB / 495 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/0.1571, allocations: 184.2 kB / 495.2 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.1571, allocations: 109 kB / 495.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.831e-05/0.1572, allocations: 75.28 kB / 495.4 MB, free: 6.746 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1572, allocations: 0 / 495.4 MB, free: 6.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.1575, allocations: 0 / 495.4 MB, free: 6.746 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.0001568/0.1576, allocations: 170.5 kB / 495.5 MB, free: 6.566 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.834e-05/0.1577, allocations: 12.03 kB / 495.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1577, allocations: 0 / 495.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.1578, allocations: 0 / 495.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.1582, allocations: 459.6 kB / 496 MB, free: 6.102 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.1585, allocations: 152.1 kB / 496.1 MB, free: 5.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1589, allocations: 0.6768 MB / 496.8 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.13e-05/0.1589, allocations: 0 / 496.8 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.1589, allocations: 11.44 kB / 496.8 MB, free: 5.215 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1589, allocations: 0 / 496.8 MB, free: 5.215 MB / 366.1 MB Notification: Performance of Templates: time 0.003403/0.1623, allocations: 308.4 kB / 497.1 MB, free: 4.918 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 -s cvode -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