Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 123 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2659/0.2659, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.89 kB / 0.491 GB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1672, allocations: 65.99 MB / 0.5554 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003317/0.1705, allocations: 1.825 MB / 0.5572 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.1724, allocations: 1.106 MB / 0.5583 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.1725, allocations: 7.938 kB / 0.5583 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005815/0.1731, allocations: 307.3 kB / 0.5586 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.1736, allocations: 263.2 kB / 0.5588 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1739, allocations: 103.6 kB / 0.5589 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.1742, allocations: 267.2 kB / 0.5592 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.003e-05/0.1743, allocations: 17.67 kB / 0.5592 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.1745, allocations: 131.5 kB / 0.5593 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.1748, allocations: 227.4 kB / 0.5596 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.1748, allocations: 4 kB / 0.5596 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1749, allocations: 43.98 kB / 0.5596 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.1751, allocations: 135.5 kB / 0.5597 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.1752, allocations: 150.8 kB / 0.5599 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004556/0.1757, allocations: 382.2 kB / 0.5602 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1757, allocations: 8 kB / 0.5603 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1757, allocations: 0 / 0.5603 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1757, allocations: 3.938 kB / 0.5603 GB, free: 0.8477 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.001055/0.1767, allocations: 0.7616 MB / 0.561 GB, free: 36 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1768, allocations: 8.031 kB / 0.561 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.717e-05/0.1769, allocations: 34.75 kB / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.633e-05/0.177, allocations: 56.59 kB / 0.5611 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006409/0.1776, allocations: 460.3 kB / 0.5615 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.1777, allocations: 12.38 kB / 0.5615 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.1777, allocations: 7.938 kB / 0.5616 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.1779, allocations: 83.36 kB / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1779, allocations: 3.938 kB / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1779, allocations: 0 / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1779, allocations: 0 / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.178, allocations: 27.98 kB / 0.5617 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.1785, allocations: 390.3 kB / 0.562 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.1788, allocations: 105.1 kB / 0.5621 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1789, allocations: 37.7 kB / 0.5622 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.1789, allocations: 0 / 0.5622 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.1791, allocations: 109 kB / 0.5623 GB, free: 14.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.1791, allocations: 0 / 0.5623 GB, free: 14.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005136/0.1796, allocations: 201.2 kB / 0.5625 GB, free: 14.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.1797, allocations: 85.11 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.1809, allocations: 1.05 MB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1809, allocations: 29.69 kB / 0.5636 GB, free: 13.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.1811, allocations: 232.1 kB / 0.5638 GB, free: 12.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.1812, allocations: 35.73 kB / 0.5639 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.1812, allocations: 29.7 kB / 0.5639 GB, free: 12.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.1814, allocations: 370.8 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1816, allocations: 27.98 kB / 0.5643 GB, free: 12.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1817, allocations: 55.41 kB / 0.5643 GB, free: 12.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.1818, allocations: 87.36 kB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1819, allocations: 8.375 kB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003174/0.1822, allocations: 185.2 kB / 0.5646 GB, free: 12.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.1822, allocations: 4 kB / 0.5646 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1822, allocations: 0 / 0.5646 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1822, allocations: 4 kB / 0.5646 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1823, allocations: 20 kB / 0.5646 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.1824, allocations: 11.92 kB / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.102e-05/0.1824, allocations: 7.938 kB / 0.5646 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1825, allocations: 4 kB / 0.5646 GB, free: 12.06 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.0002384/0.1827, allocations: 235.9 kB / 0.5649 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.1828, allocations: 51.62 kB / 0.5649 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.835e-05/0.1828, allocations: 60.14 kB / 0.565 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.1828, allocations: 4 kB / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1829, allocations: 0 / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1829, allocations: 0 / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.1832, allocations: 349.4 kB / 0.5653 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1832, allocations: 0 / 0.5653 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.1832, allocations: 11.98 kB / 0.5653 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1832, allocations: 3.984 kB / 0.5653 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1833, allocations: 8 kB / 0.5653 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1833, allocations: 0 / 0.5653 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1833, allocations: 0 / 0.5653 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.1836, allocations: 213.4 kB / 0.5655 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.1838, allocations: 140.8 kB / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.1838, allocations: 0 / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.1839, allocations: 8 kB / 0.5657 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.1839, allocations: 11.98 kB / 0.5657 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.184, allocations: 4 kB / 0.5657 GB, free: 10.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000877/0.1848, allocations: 0.78 MB / 0.5664 GB, free: 10.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1848, allocations: 4 kB / 0.5665 GB, free: 10.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1851, allocations: 47.92 kB / 0.5665 GB, free: 10.05 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.1872, allocations: 1.052 MB / 0.5675 GB, free: 9.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.1875, allocations: 75.89 kB / 0.5676 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1875, allocations: 0 / 0.5676 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1876, allocations: 35.92 kB / 0.5676 GB, free: 9.016 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.188, allocations: 83.44 kB / 0.5677 GB, free: 8.941 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/0.1941, allocations: 4.578 MB / 0.5722 GB, free: 4.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.1946, allocations: 0.8427 MB / 0.573 GB, free: 3.387 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.1947, allocations: 58.95 kB / 0.5731 GB, free: 3.328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.195, allocations: 155.4 kB / 0.5732 GB, free: 3.18 MB / 430.1 MB Notification: Performance of SimCode: time 1.423e-06/0.195, allocations: 0 / 0.5732 GB, free: 3.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.228, allocations: 9.151 MB / 0.5821 GB, free: 10.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/8.579, allocations: 7.875 kB / 0.5822 GB, free: 10.09 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.266530826003873]