Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.0008099/0.0008099, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001017/0.001017, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9063/0.9063, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2645/0.2645, allocations: 32.8 MB / 293.5 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.406e-05, allocations: 3.828 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003207/0.003231, allocations: 1.735 MB / 441.4 MB, free: 2.402 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.004365, allocations: 0.9801 MB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.004436, allocations: 3.938 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.004727, allocations: 103.7 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.005013, allocations: 135.4 kB / 442.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.005176, allocations: 79.66 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.005336, allocations: 139.5 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/0.00543, allocations: 11.98 kB / 442.9 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.643e-05/0.005517, allocations: 71.8 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.969e-05/0.005606, allocations: 67.86 kB / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.005621, allocations: 4 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.105e-05/0.005712, allocations: 59.86 kB / 443.1 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.005762, allocations: 39.83 kB / 443.1 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.005799, allocations: 23.94 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.005977, allocations: 159.4 kB / 443.3 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005979, allocations: 0 / 443.3 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.00598, allocations: 0 / 443.3 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.005983, allocations: 4 kB / 443.3 MB, free: 0.5312 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004091/0.006392, allocations: 381.2 kB / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.006428, allocations: 16.02 kB / 443.7 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.761e-05/0.006456, allocations: 30.75 kB / 443.7 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.006487, allocations: 16.84 kB / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1631/0.1696, allocations: 161.4 kB / 443.9 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.1697, allocations: 7.125 kB / 443.9 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.1697, allocations: 3.281 kB / 443.9 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1699, allocations: 73.33 kB / 443.9 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1699, allocations: 3.469 kB / 444 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1699, allocations: 0 / 444 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1699, allocations: 2.844 kB / 444 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.215e-05/0.17, allocations: 35.11 kB / 444 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.1703, allocations: 288.2 kB / 444.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.1705, allocations: 74.25 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.1705, allocations: 28.31 kB / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.1705, allocations: 0.6562 kB / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.1707, allocations: 80.84 kB / 444.5 MB, free: 46.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1707, allocations: 3.062 kB / 444.5 MB, free: 46.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005798/0.1712, allocations: 290.8 kB / 444.7 MB, free: 46.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.1713, allocations: 57.67 kB / 444.8 MB, free: 46.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1714, allocations: 262.8 kB / 445.1 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.1714, allocations: 28.7 kB / 445.1 MB, free: 45.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.1715, allocations: 122.9 kB / 445.2 MB, free: 45.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.1715, allocations: 38.5 kB / 445.2 MB, free: 45.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.1715, allocations: 31.83 kB / 445.3 MB, free: 45.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.1716, allocations: 327.2 kB / 445.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.1716, allocations: 43.03 kB / 445.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.097e-05/0.1717, allocations: 52.75 kB / 445.7 MB, free: 45.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.561e-05/0.1718, allocations: 96.12 kB / 445.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1718, allocations: 0 / 445.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001498/0.1719, allocations: 153.7 kB / 445.9 MB, free: 45.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.172, allocations: 5.781 kB / 445.9 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.172, allocations: 3.906 kB / 445.9 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.172, allocations: 0 / 445.9 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/0.172, allocations: 27.66 kB / 446 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.172, allocations: 0 / 446 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.1721, allocations: 9.141 kB / 446 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1721, allocations: 3.094 kB / 446 MB, free: 45.33 MB / 410.7 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 (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 7.923e-05/0.1722, allocations: 146.5 kB / 446.1 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.1722, allocations: 17.78 kB / 446.1 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.1724, allocations: 182.6 kB / 446.3 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1724, allocations: 2.875 kB / 446.3 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1724, allocations: 0 / 446.3 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1724, allocations: 3.828 kB / 446.3 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.1727, allocations: 456.9 kB / 446.8 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1727, allocations: 6.375 kB / 446.8 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.1728, allocations: 14.59 kB / 446.8 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1728, allocations: 2.938 kB / 446.8 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1728, allocations: 9.391 kB / 446.8 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1728, allocations: 2.906 kB / 446.8 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1728, allocations: 0 / 446.8 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.1729, allocations: 275.4 kB / 447.1 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.173, allocations: 13.69 kB / 447.1 MB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.173, allocations: 3 kB / 447.1 MB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.403e-05/0.173, allocations: 11.53 kB / 447.1 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.173, allocations: 12.52 kB / 447.1 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.1731, allocations: 9.188 kB / 447.1 MB, free: 44.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.84e-05/0.1731, allocations: 202.5 kB / 447.3 MB, free: 44.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1731, allocations: 0 / 447.3 MB, free: 44.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.1733, allocations: 33.08 kB / 447.3 MB, free: 44.44 MB / 410.7 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 (14): * Single equations (assignments): 12 * 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.001001/0.1743, allocations: 1.25 MB / 448.6 MB, free: 43.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.1745, allocations: 86.62 kB / 448.7 MB, free: 43.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1745, allocations: 0 / 448.7 MB, free: 43.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.1745, allocations: 55.14 kB / 448.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.1748, allocations: 32.5 kB / 448.8 MB, free: 43.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.176, allocations: 1.989 MB / 450.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.737e-05/0.1761, allocations: 116.1 kB / 450.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.1762, allocations: 22.3 kB / 450.9 MB, free: 42.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.1762, allocations: 58.78 kB / 450.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1762, allocations: 0 / 450.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.1905, allocations: 5.087 MB / 456 MB, free: 40.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/7.062, allocations: 9.938 kB / 456 MB, free: 40.5 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.187985837459564]