Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.0008773/0.0008773, 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.001162/0.001162, 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.8859/0.8859, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2416/0.2416, allocations: 34.25 MB / 294.9 MB, free: 0.707 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.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.251e-05, allocations: 4.812 kB / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.1751/0.1751, allocations: 1.697 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1762, allocations: 0.9802 MB / 444.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.1762, allocations: 4.25 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.1765, allocations: 48.2 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.1768, allocations: 102.3 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.1769, allocations: 86.89 kB / 445.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.177, allocations: 105.2 kB / 445.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1772, allocations: 17.77 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.64e-05/0.1772, allocations: 55.95 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.1773, allocations: 25.84 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1773, allocations: 5.344 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.753e-05/0.1774, allocations: 41.75 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.1775, allocations: 32.38 kB / 445.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.1775, allocations: 23.12 kB / 445.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1776, allocations: 134.7 kB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1776, allocations: 3.234 kB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1776, allocations: 0 / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1776, allocations: 0 / 445.6 MB, free: 42.93 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.0003849/0.178, allocations: 381.2 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1781, allocations: 11.72 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.067e-05/0.1781, allocations: 34.88 kB / 446 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.1781, allocations: 17.98 kB / 446.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.1783, allocations: 164 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1783, allocations: 384 / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.1783, allocations: 3.312 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.896e-05/0.1784, allocations: 65.62 kB / 446.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1784, allocations: 2.906 kB / 446.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.1785, allocations: 3.938 kB / 446.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1785, allocations: 0 / 446.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.713e-05/0.1785, allocations: 22.77 kB / 446.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.1787, allocations: 273.6 kB / 446.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.1788, allocations: 58.38 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.1789, allocations: 17.61 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.1789, allocations: 3.938 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.179, allocations: 69.62 kB / 446.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.179, allocations: 0 / 446.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004067/0.1794, allocations: 197.4 kB / 446.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.1794, allocations: 51.41 kB / 447 MB, free: 41.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.1796, allocations: 287.4 kB / 447.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.1796, allocations: 30.27 kB / 447.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.1796, allocations: 114.7 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1797, allocations: 26.09 kB / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.1797, allocations: 25.81 kB / 447.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.877e-05/0.1797, allocations: 333.3 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.323e-05/0.1798, allocations: 20.67 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.1798, allocations: 34.48 kB / 447.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.668e-05/0.1799, allocations: 69.45 kB / 447.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1799, allocations: 0 / 447.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001084/0.18, allocations: 111.5 kB / 448 MB, free: 41.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.18, allocations: 5.938 kB / 448 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.18, allocations: 0 / 448 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.18, allocations: 0 / 448 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.1801, allocations: 17.19 kB / 448 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1801, allocations: 5.031 kB / 448 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.1801, allocations: 4.734 kB / 448 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1801, allocations: 6.781 kB / 448 MB, free: 41.28 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 5.989e-05/0.1802, allocations: 143 kB / 448.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.1802, allocations: 20.3 kB / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.1803, allocations: 127 kB / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1803, allocations: 0 / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1803, allocations: 0 / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1803, allocations: 0 / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.1806, allocations: 385.1 kB / 448.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1806, allocations: 2.469 kB / 448.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/0.1806, allocations: 7.594 kB / 448.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1806, allocations: 10.88 kB / 448.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1806, allocations: 10.36 kB / 448.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1806, allocations: 3.719 kB / 448.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1806, allocations: 4.453 kB / 448.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.1807, allocations: 217.7 kB / 448.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.1807, allocations: 18.55 kB / 449 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.1808, allocations: 2.875 kB / 449 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.832e-05/0.1808, allocations: 2.875 kB / 449 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.1808, allocations: 12.42 kB / 449 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.1808, allocations: 10.27 kB / 449 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1809, allocations: 223.8 kB / 449.2 MB, free: 40.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1809, allocations: 0 / 449.2 MB, free: 40.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.1811, allocations: 25.44 kB / 449.2 MB, free: 40.44 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.0008677/0.182, allocations: 1.146 MB / 450.4 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.1821, allocations: 57.39 kB / 450.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1821, allocations: 0 / 450.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.664e-05/0.1821, allocations: 36.47 kB / 450.5 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.1824, allocations: 33.62 kB / 450.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.1834, allocations: 1.876 MB / 452.4 MB, free: 38.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.401e-05/0.1835, allocations: 114.2 kB / 452.5 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.739e-05/0.1835, allocations: 13.7 kB / 452.5 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.1835, allocations: 48.53 kB / 452.6 MB, free: 38.08 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1835, allocations: 0 / 452.6 MB, free: 38.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.1983, allocations: 4.672 MB / 457.2 MB, free: 36.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/7.118, allocations: 6.5 kB / 457.2 MB, free: 36.63 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00049781 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.20816167164594]