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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001399/0.001399, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001576/0.001576, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2347/0.2347, allocations: 46.92 MB / 357 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 87.86 kB / 0.4909 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1254, allocations: 66.04 MB / 0.5554 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001636/0.127, allocations: 481 kB / 0.5559 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.1304, allocations: 2.15 MB / 0.558 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.1304, allocations: 0 / 0.558 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.1304, allocations: 0 / 0.558 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.773e-05/0.1304, allocations: 0 / 0.558 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1318, allocations: 402.7 kB / 0.5584 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.409e-05/0.1318, allocations: 8 kB / 0.5584 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.1318, allocations: 3.938 kB / 0.5584 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.778e-05/0.1319, allocations: 3.984 kB / 0.5584 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02166/0.1535, allocations: 3.372 MB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1535, allocations: 4 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1536, allocations: 8 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.1537, allocations: 3.984 kB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.1537, allocations: 0 / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.1538, allocations: 4 kB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1538, allocations: 0 / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1538, allocations: 3.938 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1538, allocations: 0 / 0.5617 GB, free: 15.71 MB / 430.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.0003901/0.1542, allocations: 323.5 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.1543, allocations: 8.031 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.395e-05/0.1544, allocations: 110 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/0.1546, allocations: 88.2 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.1548, allocations: 235.7 kB / 0.5624 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.58e-05/0.1548, allocations: 150.9 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.1549, allocations: 154.9 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.901e-05/0.155, allocations: 113 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/0.155, allocations: 79.27 kB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.1551, allocations: 158.6 kB / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.381e-05/0.1552, allocations: 154.5 kB / 0.5632 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.749e-05/0.1552, allocations: 150.6 kB / 0.5634 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.1556, allocations: 442 kB / 0.5638 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.1557, allocations: 173.1 kB / 0.5639 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.1558, allocations: 84.14 kB / 0.564 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.1558, allocations: 75.28 kB / 0.5641 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/0.1559, allocations: 109.8 kB / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.1559, allocations: 4 kB / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.282e-05/0.1559, allocations: 25.7 kB / 0.5642 GB, free: 12.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.156, allocations: 186.1 kB / 0.5644 GB, free: 12.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1561, allocations: 93.86 kB / 0.5645 GB, free: 12.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1562, allocations: 25.7 kB / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.1562, allocations: 80.14 kB / 0.5646 GB, free: 12.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.1562, allocations: 3.938 kB / 0.5646 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.1562, allocations: 17.84 kB / 0.5646 GB, free: 12.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1564, allocations: 310.8 kB / 0.5649 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-06/0.1564, allocations: 0 / 0.5649 GB, free: 12.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.583e-05/0.1564, allocations: 13.72 kB / 0.5649 GB, free: 12.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.281e-05/0.1564, allocations: 75.28 kB / 0.565 GB, free: 12.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.37e-05/0.1565, allocations: 79.28 kB / 0.5651 GB, free: 12.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.552e-05/0.1565, allocations: 37.62 kB / 0.5651 GB, free: 11.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.1566, allocations: 87.31 kB / 0.5652 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.741e-05/0.1566, allocations: 79.22 kB / 0.5653 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.607e-05/0.1567, allocations: 154.5 kB / 0.5654 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.051e-05/0.1567, allocations: 79.28 kB / 0.5655 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.449e-05/0.1568, allocations: 154.5 kB / 0.5656 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.1569, allocations: 75.28 kB / 0.5657 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.1569, allocations: 91.2 kB / 0.5658 GB, free: 11.26 MB / 430.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.0001566/0.1571, allocations: 260.4 kB / 0.5661 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.209e-05/0.1572, allocations: 109 kB / 0.5662 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.1573, allocations: 115.8 kB / 0.5663 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.487e-05/0.1573, allocations: 176.3 kB / 0.5664 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.988e-05/0.1574, allocations: 184.2 kB / 0.5666 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.005e-05/0.1575, allocations: 184.2 kB / 0.5668 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.1578, allocations: 397.2 kB / 0.5672 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.477e-05/0.1578, allocations: 104.9 kB / 0.5673 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.1579, allocations: 108.9 kB / 0.5674 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.613e-05/0.158, allocations: 180.3 kB / 0.5675 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-05/0.1581, allocations: 188.5 kB / 0.5677 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.79e-05/0.1582, allocations: 180.3 kB / 0.5679 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.776e-05/0.1582, allocations: 184.2 kB / 0.5681 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.1584, allocations: 299.8 kB / 0.5684 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1585, allocations: 198 kB / 0.5685 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-05/0.1586, allocations: 176.3 kB / 0.5687 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.1587, allocations: 112.9 kB / 0.5688 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/0.1588, allocations: 180.3 kB / 0.569 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.1589, allocations: 101 kB / 0.5691 GB, free: 7.672 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.229e-05/0.1589, allocations: 75.28 kB / 0.5692 GB, free: 7.598 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1589, allocations: 4.094 kB / 0.5692 GB, free: 7.594 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1592, allocations: 7.938 kB / 0.5692 GB, free: 7.586 MB / 430.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.000475/0.1596, allocations: 0.8009 MB / 0.57 GB, free: 6.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.552e-05/0.1597, allocations: 4 kB / 0.57 GB, free: 6.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.1597, allocations: 4 kB / 0.57 GB, free: 6.746 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.1597, allocations: 3.938 kB / 0.57 GB, free: 6.742 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.1601, allocations: 455.7 kB / 0.5704 GB, free: 6.293 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.1605, allocations: 174 kB / 0.5706 GB, free: 6.082 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.1608, allocations: 0.6768 MB / 0.5712 GB, free: 5.379 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.034e-05/0.1608, allocations: 4 kB / 0.5712 GB, free: 5.375 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.1608, allocations: 15.38 kB / 0.5712 GB, free: 5.359 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1608, allocations: 0 / 0.5712 GB, free: 5.359 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.183, allocations: 1.026 MB / 0.5722 GB, free: 4.418 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.047, allocations: 7.938 kB / 0.5723 GB, free: 4.41 MB / 430.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.11626154195983]