Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.001582/0.001582, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.001693/0.001693, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.507/1.507, allocations: 230.5 MB / 254 MB, free: 15.15 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.2464/0.2464, allocations: 46.92 MB / 357 MB, free: 10.19 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.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003519/0.003519, allocations: 87.86 kB / 0.491 GB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1614, allocations: 66.05 MB / 0.5555 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003839/0.1652, allocations: 1.834 MB / 0.5573 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.1674, allocations: 1.104 MB / 0.5584 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.1675, allocations: 0 / 0.5584 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006272/0.1681, allocations: 319.2 kB / 0.5587 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005773/0.1687, allocations: 259.2 kB / 0.559 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.169, allocations: 99.69 kB / 0.559 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.1695, allocations: 267.2 kB / 0.5593 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.531e-05/0.1695, allocations: 13.69 kB / 0.5593 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.1698, allocations: 139.5 kB / 0.5594 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003326/0.1701, allocations: 215.5 kB / 0.5597 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.1701, allocations: 8 kB / 0.5597 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.1703, allocations: 51.91 kB / 0.5597 GB, free: 1.156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1704, allocations: 135.5 kB / 0.5598 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.1706, allocations: 146.8 kB / 0.56 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.1711, allocations: 386.1 kB / 0.5603 GB, free: 0.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1711, allocations: 0 / 0.5603 GB, free: 0.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1711, allocations: 0 / 0.5603 GB, free: 0.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.1712, allocations: 0 / 0.5603 GB, free: 0.5 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001115/0.1723, allocations: 0.7694 MB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1723, allocations: 8.031 kB / 0.5611 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.1724, allocations: 30.75 kB / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.656e-05/0.1725, allocations: 56.61 kB / 0.5612 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.1731, allocations: 460.3 kB / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1731, allocations: 4.375 kB / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.1732, allocations: 4.375 kB / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.1734, allocations: 87.48 kB / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1734, allocations: 0 / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1734, allocations: 4 kB / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1734, allocations: 4 kB / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.1735, allocations: 35.91 kB / 0.5618 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.174, allocations: 378.3 kB / 0.5621 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.1743, allocations: 97.23 kB / 0.5622 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1744, allocations: 45.62 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.1744, allocations: 3.938 kB / 0.5623 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.1746, allocations: 113 kB / 0.5624 GB, free: 14.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1746, allocations: 4 kB / 0.5624 GB, free: 14.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005208/0.1752, allocations: 201.2 kB / 0.5626 GB, free: 14.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.1752, allocations: 77.11 kB / 0.5626 GB, free: 13.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.1765, allocations: 1.054 MB / 0.5637 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1765, allocations: 29.7 kB / 0.5637 GB, free: 12.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.1767, allocations: 236.1 kB / 0.5639 GB, free: 12.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.1767, allocations: 31.73 kB / 0.564 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.1768, allocations: 33.72 kB / 0.564 GB, free: 12.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.177, allocations: 362.8 kB / 0.5643 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/0.1771, allocations: 35.91 kB / 0.5644 GB, free: 12.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1772, allocations: 58.05 kB / 0.5644 GB, free: 12.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.1774, allocations: 99.28 kB / 0.5645 GB, free: 11.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1774, allocations: 0 / 0.5645 GB, free: 11.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000331/0.1777, allocations: 169.2 kB / 0.5647 GB, free: 11.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.1778, allocations: 8 kB / 0.5647 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1778, allocations: 0 / 0.5647 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1778, allocations: 0 / 0.5647 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1779, allocations: 32.55 kB / 0.5647 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1779, allocations: 0 / 0.5647 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.178, allocations: 15.98 kB / 0.5647 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.178, allocations: 4 kB / 0.5647 GB, free: 11.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002559/0.1783, allocations: 221.6 kB / 0.5649 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.1784, allocations: 63.55 kB / 0.565 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.186e-05/0.1785, allocations: 64.14 kB / 0.5651 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1785, allocations: 0 / 0.5651 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1785, allocations: 0 / 0.5651 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1785, allocations: 4 kB / 0.5651 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.1788, allocations: 349.4 kB / 0.5654 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1788, allocations: 7.938 kB / 0.5654 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.1789, allocations: 11.94 kB / 0.5654 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1789, allocations: 0 / 0.5654 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1789, allocations: 3.984 kB / 0.5654 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1789, allocations: 4 kB / 0.5654 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1789, allocations: 3.938 kB / 0.5654 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.1793, allocations: 205.5 kB / 0.5656 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.1794, allocations: 144.7 kB / 0.5658 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.1795, allocations: 4 kB / 0.5658 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.1796, allocations: 7.984 kB / 0.5658 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.1796, allocations: 11.98 kB / 0.5658 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1796, allocations: 4 kB / 0.5658 GB, free: 10.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008813/0.1805, allocations: 0.78 MB / 0.5666 GB, free: 9.742 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1805, allocations: 0 / 0.5666 GB, free: 9.742 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.1808, allocations: 43.94 kB / 0.5666 GB, free: 9.699 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002099/0.1829, allocations: 1.049 MB / 0.5676 GB, free: 8.758 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.1832, allocations: 71.91 kB / 0.5677 GB, free: 8.688 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1832, allocations: 4.125 kB / 0.5677 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.1833, allocations: 39.91 kB / 0.5677 GB, free: 8.645 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.1837, allocations: 64.7 kB / 0.5678 GB, free: 8.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006303/0.19, allocations: 4.578 MB / 0.5723 GB, free: 3.906 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.1906, allocations: 0.8505 MB / 0.5731 GB, free: 3.031 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.1907, allocations: 63.44 kB / 0.5732 GB, free: 2.969 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.1909, allocations: 151.4 kB / 0.5733 GB, free: 2.824 MB / 430.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1909, allocations: 0 / 0.5733 GB, free: 2.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03818/0.2291, allocations: 9.131 MB / 0.5822 GB, free: 9.742 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.562/8.791, allocations: 7.938 kB / 0.5822 GB, free: 9.734 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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: 12.405482752015814]