Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001413/0.001413, allocations: 132.4 kB / 17.79 MB, free: 5.242 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.001419/0.001419, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.544/1.544, 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.2665/0.2665, allocations: 46.92 MB / 357 MB, free: 10.2 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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00295/0.00295, allocations: 79.89 kB / 0.491 GB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1545, allocations: 66.06 MB / 0.5555 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003394/0.1579, allocations: 1.829 MB / 0.5573 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.1598, allocations: 1.109 MB / 0.5584 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.049e-05/0.1599, allocations: 4 kB / 0.5584 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005591/0.1605, allocations: 303.2 kB / 0.5587 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005021/0.161, allocations: 247.2 kB / 0.5589 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1612, allocations: 107.6 kB / 0.559 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.1615, allocations: 263.2 kB / 0.5593 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.651e-05/0.1616, allocations: 13.69 kB / 0.5593 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.1618, allocations: 139.5 kB / 0.5594 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.1621, allocations: 208 kB / 0.5596 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.1621, allocations: 8 kB / 0.5596 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1622, allocations: 47.92 kB / 0.5597 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.1624, allocations: 140.5 kB / 0.5598 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.1625, allocations: 138.8 kB / 0.5599 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.163, allocations: 374.2 kB / 0.5603 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.163, allocations: 0 / 0.5603 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.163, allocations: 0 / 0.5603 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.163, allocations: 4 kB / 0.5603 GB, free: 0.5664 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.001047/0.164, allocations: 0.7461 MB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1641, allocations: 12.02 kB / 0.561 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.1641, allocations: 42.75 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.115e-05/0.1642, allocations: 48.61 kB / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/0.1648, allocations: 452.3 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1649, allocations: 4.375 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.1649, allocations: 8.312 kB / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.1651, allocations: 91.42 kB / 0.5617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1651, allocations: 4 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1651, allocations: 4 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1651, allocations: 0 / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1652, allocations: 31.97 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.1657, allocations: 378.4 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.1659, allocations: 101.2 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.512e-05/0.166, allocations: 37.7 kB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.166, allocations: 0 / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.1663, allocations: 113 kB / 0.5623 GB, free: 14.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.1663, allocations: 4 kB / 0.5623 GB, free: 14.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005118/0.1668, allocations: 205.2 kB / 0.5625 GB, free: 14.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.1669, allocations: 77.11 kB / 0.5626 GB, free: 14.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.168, allocations: 1.022 MB / 0.5636 GB, free: 12.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1681, allocations: 33.7 kB / 0.5636 GB, free: 12.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.1683, allocations: 228.1 kB / 0.5638 GB, free: 12.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.1683, allocations: 27.78 kB / 0.5639 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.1684, allocations: 37.64 kB / 0.5639 GB, free: 12.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.1686, allocations: 366.8 kB / 0.5642 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.994e-05/0.1687, allocations: 27.98 kB / 0.5643 GB, free: 12.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1688, allocations: 59.36 kB / 0.5643 GB, free: 12.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.1689, allocations: 91.34 kB / 0.5644 GB, free: 12.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.1689, allocations: 4 kB / 0.5644 GB, free: 12.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003002/0.1692, allocations: 169.8 kB / 0.5646 GB, free: 11.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1693, allocations: 5.719 kB / 0.5646 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1693, allocations: 11.98 kB / 0.5646 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1693, allocations: 0 / 0.5646 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1694, allocations: 16 kB / 0.5646 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.1694, allocations: 12 kB / 0.5646 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.1695, allocations: 19.88 kB / 0.5646 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1695, allocations: 4 kB / 0.5646 GB, free: 11.83 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.000229/0.1698, allocations: 221.6 kB / 0.5649 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.1698, allocations: 55.61 kB / 0.5649 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.228e-05/0.1699, allocations: 64.09 kB / 0.565 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1699, allocations: 0 / 0.565 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1699, allocations: 3.938 kB / 0.565 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1699, allocations: 0 / 0.565 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.1703, allocations: 345.4 kB / 0.5653 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.1703, allocations: 3.938 kB / 0.5653 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.1703, allocations: 8 kB / 0.5653 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1703, allocations: 0 / 0.5653 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1704, allocations: 7.984 kB / 0.5653 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1704, allocations: 3.938 kB / 0.5653 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1704, allocations: 0 / 0.5653 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.1707, allocations: 209.5 kB / 0.5655 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.1709, allocations: 140.7 kB / 0.5657 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.1709, allocations: 4 kB / 0.5657 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.171, allocations: 7.984 kB / 0.5657 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.171, allocations: 8 kB / 0.5657 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.171, allocations: 7.984 kB / 0.5657 GB, free: 10.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008325/0.1719, allocations: 0.7604 MB / 0.5664 GB, free: 9.902 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1719, allocations: 0 / 0.5664 GB, free: 9.902 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1721, allocations: 43.94 kB / 0.5665 GB, free: 9.859 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.002095/0.1742, allocations: 1.039 MB / 0.5675 GB, free: 8.926 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.1745, allocations: 87.95 kB / 0.5676 GB, free: 8.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1745, allocations: 0 / 0.5676 GB, free: 8.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.1746, allocations: 35.92 kB / 0.5676 GB, free: 8.805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.1751, allocations: 75.66 kB / 0.5677 GB, free: 8.742 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.1807, allocations: 4.485 MB / 0.5721 GB, free: 4.152 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.1812, allocations: 0.8427 MB / 0.5729 GB, free: 3.285 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.1814, allocations: 58.94 kB / 0.5729 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.1816, allocations: 151.4 kB / 0.5731 GB, free: 3.082 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1816, allocations: 0 / 0.5731 GB, free: 3.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.217, allocations: 8.961 MB / 0.5818 GB, free: 10.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.454/8.671, allocations: 3.938 kB / 0.5818 GB, free: 10.16 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.425242941011675]