Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.0008636/0.0008636, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008302/0.0008302, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9034/0.9034, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2524/0.2524, allocations: 34.25 MB / 294.9 MB, free: 0.7266 MB / 266.7 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.Test60,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 4 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.508e-05, allocations: 2.281 kB / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.1716/0.1716, allocations: 1.706 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1731, allocations: 1.667 MB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.274e-05/0.1732, allocations: 2.469 kB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1734, allocations: 44.66 kB / 445.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1737, allocations: 98.38 kB / 445.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.1738, allocations: 83.88 kB / 445.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.1739, allocations: 114.9 kB / 446 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.146e-05/0.174, allocations: 2.906 kB / 446 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.816e-05/0.1741, allocations: 60.52 kB / 446 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.1742, allocations: 33.05 kB / 446.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.1742, allocations: 7.219 kB / 446.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1743, allocations: 111.9 kB / 446.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.13e-05/0.1743, allocations: 17.8 kB / 446.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.1744, allocations: 27.73 kB / 446.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1746, allocations: 170.4 kB / 446.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1746, allocations: 0 / 446.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1746, allocations: 1.781 kB / 446.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1746, allocations: 0 / 446.4 MB, free: 42.67 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003831/0.175, allocations: 360.4 kB / 446.8 MB, free: 42.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.175, allocations: 8.375 kB / 446.8 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.341e-05/0.175, allocations: 33.66 kB / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.1751, allocations: 12.56 kB / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.1752, allocations: 154.9 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1753, allocations: 3.125 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.1753, allocations: 11.25 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1754, allocations: 102.6 kB / 447.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1754, allocations: 0 / 447.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1754, allocations: 0 / 447.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1754, allocations: 0 / 447.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.1755, allocations: 20.7 kB / 447.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.1757, allocations: 255 kB / 447.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.1758, allocations: 62.36 kB / 447.4 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.1758, allocations: 22.66 kB / 447.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.1759, allocations: 0 / 447.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.176, allocations: 71.25 kB / 447.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.176, allocations: 0 / 447.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003582/0.1763, allocations: 179.8 kB / 447.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.1763, allocations: 79.92 kB / 447.7 MB, free: 41.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.328e-05/0.1764, allocations: 163.2 kB / 447.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.1764, allocations: 33.08 kB / 447.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.1765, allocations: 97.17 kB / 448 MB, free: 41.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.1765, allocations: 25.89 kB / 448.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.1765, allocations: 29.62 kB / 448.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.579e-05/0.1765, allocations: 325 kB / 448.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.1766, allocations: 23.19 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.1766, allocations: 72.92 kB / 448.5 MB, free: 40.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.081e-05/0.1767, allocations: 66.33 kB / 448.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1767, allocations: 0 / 448.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.783e-05/0.1768, allocations: 103.3 kB / 448.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.1768, allocations: 3 kB / 448.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1768, allocations: 2.969 kB / 448.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1768, allocations: 0 / 448.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/0.1769, allocations: 18.64 kB / 448.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1769, allocations: 10.16 kB / 448.7 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.1769, allocations: 10.53 kB / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1769, allocations: 2.781 kB / 448.7 MB, free: 40.71 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 (10): * Single equations (assignments): 10 * 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 4.463e-05/0.1769, allocations: 119.9 kB / 448.8 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.177, allocations: 9.734 kB / 448.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.1771, allocations: 120.3 kB / 449 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1771, allocations: 0 / 449 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1771, allocations: 0 / 449 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1771, allocations: 0 / 449 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.1774, allocations: 381.4 kB / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1774, allocations: 0 / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.1774, allocations: 17.81 kB / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1774, allocations: 0 / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1774, allocations: 6.781 kB / 449.4 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1774, allocations: 0 / 449.4 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1774, allocations: 0 / 449.4 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.1775, allocations: 211.8 kB / 449.6 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.1775, allocations: 10.86 kB / 449.6 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1776, allocations: 6.875 kB / 449.6 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.333e-05/0.1776, allocations: 10.23 kB / 449.6 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.1776, allocations: 10.33 kB / 449.6 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.1776, allocations: 2.719 kB / 449.6 MB, free: 40.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.427e-05/0.1777, allocations: 132.2 kB / 449.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1777, allocations: 0 / 449.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.1779, allocations: 53.64 kB / 449.8 MB, free: 39.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.0009778/0.1789, allocations: 1.246 MB / 451 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.179, allocations: 64.84 kB / 451.1 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.179, allocations: 2.75 kB / 451.1 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.719e-05/0.179, allocations: 24.17 kB / 451.1 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.1792, allocations: 30.94 kB / 451.1 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008741/0.1801, allocations: 1.615 MB / 452.8 MB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.1802, allocations: 91.09 kB / 452.9 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.226e-05/0.1802, allocations: 15.77 kB / 452.9 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.1803, allocations: 35.89 kB / 452.9 MB, free: 37.59 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.1803, allocations: 0 / 452.9 MB, free: 37.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.1962, allocations: 4.904 MB / 457.8 MB, free: 36.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.975/7.171, allocations: 15.09 kB / 457.8 MB, free: 36.04 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.26806187350303]