Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001734/0.001734, 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 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.002146/0.002146, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.461/1.461, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2282/0.2282, 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.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002848/0.002848, allocations: 67.91 kB / 0.491 GB, free: 7.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1709, allocations: 65.99 MB / 0.5555 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003882/0.1748, allocations: 1.752 MB / 0.5572 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.1775, allocations: 1.046 MB / 0.5582 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1776, allocations: 0 / 0.5582 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004185/0.178, allocations: 91.69 kB / 0.5583 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.1784, allocations: 119.5 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1787, allocations: 79.72 kB / 0.5585 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.179, allocations: 127.6 kB / 0.5586 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1791, allocations: 15.98 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.1793, allocations: 59.77 kB / 0.5587 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.1794, allocations: 71.73 kB / 0.5587 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.1794, allocations: 4 kB / 0.5587 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.1796, allocations: 63.91 kB / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.1797, allocations: 23.92 kB / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.686e-05/0.1798, allocations: 43.67 kB / 0.5589 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.1801, allocations: 139.4 kB / 0.559 GB, free: 2.129 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1801, allocations: 4 kB / 0.559 GB, free: 2.125 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1801, allocations: 0 / 0.559 GB, free: 2.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1802, allocations: 4 kB / 0.559 GB, free: 2.121 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.0007798/0.1809, allocations: 454.3 kB / 0.5594 GB, free: 1.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.181, allocations: 8.031 kB / 0.5595 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.181, allocations: 34.75 kB / 0.5595 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.1811, allocations: 16.84 kB / 0.5595 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.1814, allocations: 216.9 kB / 0.5597 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1814, allocations: 4.375 kB / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.1815, allocations: 11.94 kB / 0.5597 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.1817, allocations: 57.67 kB / 0.5598 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.1817, allocations: 3.984 kB / 0.5598 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1817, allocations: 4 kB / 0.5598 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1817, allocations: 0 / 0.5598 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1818, allocations: 23.92 kB / 0.5598 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.1824, allocations: 308.7 kB / 0.5601 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.1827, allocations: 62.53 kB / 0.5602 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.1828, allocations: 16.98 kB / 0.5602 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1828, allocations: 7.984 kB / 0.5602 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.183, allocations: 71.33 kB / 0.5603 GB, free: 0.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.183, allocations: 0 / 0.5603 GB, free: 0.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001033/0.1841, allocations: 241.8 kB / 0.5605 GB, free: 436 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.1841, allocations: 63.27 kB / 0.5605 GB, free: 360 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.1844, allocations: 242 kB / 0.5608 GB, free: 108 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.1845, allocations: 25.7 kB / 0.5608 GB, free: 76 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1846, allocations: 116.1 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.1846, allocations: 27.75 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.1847, allocations: 29.7 kB / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1849, allocations: 322.8 kB / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.33e-05/0.185, allocations: 35.98 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.1851, allocations: 45.7 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.1853, allocations: 77.64 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1853, allocations: 0 / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003458/0.1857, allocations: 137.5 kB / 0.5616 GB, free: 15.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1857, allocations: 5.875 kB / 0.5616 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1857, allocations: 4.031 kB / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1857, allocations: 0 / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1858, allocations: 27.92 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1858, allocations: 240 / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/0.1859, allocations: 8 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1859, allocations: 0 / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001781/0.1861, allocations: 140 kB / 0.5617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.1861, allocations: 11.91 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.589e-05/0.1862, allocations: 29.38 kB / 0.5618 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.1862, allocations: 11.94 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1862, allocations: 0 / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1862, allocations: 0 / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008129/0.187, allocations: 456 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.187, allocations: 0 / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.258e-05/0.1871, allocations: 16 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1871, allocations: 0 / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.1871, allocations: 8.078 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1871, allocations: 8 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1871, allocations: 0 / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.1876, allocations: 237 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.1877, allocations: 89.02 kB / 0.5626 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.1877, allocations: 7.984 kB / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.1878, allocations: 8 kB / 0.5626 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1879, allocations: 7.984 kB / 0.5626 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.1879, allocations: 8 kB / 0.5626 GB, free: 14.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002279/0.1881, allocations: 168.4 kB / 0.5628 GB, free: 13.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1881, allocations: 0 / 0.5628 GB, free: 13.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.1884, allocations: 35.92 kB / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002499/0.1909, allocations: 1.177 MB / 0.5639 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.1912, allocations: 79.84 kB / 0.564 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1912, allocations: 0 / 0.564 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.1914, allocations: 36.11 kB / 0.564 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.1919, allocations: 38.69 kB / 0.5641 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.195, allocations: 1.854 MB / 0.5659 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.1954, allocations: 0.7197 MB / 0.5666 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.488e-05/0.1955, allocations: 20.62 kB / 0.5666 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.1956, allocations: 39.42 kB / 0.5667 GB, free: 9.984 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1956, allocations: 0 / 0.5667 GB, free: 9.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.2237, allocations: 3.986 MB / 0.5705 GB, free: 6.059 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/8.133, allocations: 3.938 kB / 0.5705 GB, free: 6.055 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.33196176000638]