Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.0008624/0.0008624, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008709/0.0008709, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8893/0.8893, allocations: 177.1 MB / 204.2 MB, free: 5.738 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.2398/0.2398, allocations: 34.24 MB / 294.9 MB, free: 0.7227 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.Test44,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 442.3 MB, free: 1.613 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.58e-05, allocations: 4.25 kB / 442.3 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.1775/0.1775, allocations: 1.707 MB / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1786, allocations: 0.9828 MB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.1787, allocations: 0 / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.179, allocations: 40.81 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.1792, allocations: 99.61 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.1794, allocations: 77.03 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.1796, allocations: 114.9 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.1797, allocations: 7.156 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.987e-05/0.1797, allocations: 57.7 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.1798, allocations: 29.98 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1798, allocations: 2.688 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.816e-05/0.1799, allocations: 40.72 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.18, allocations: 25.61 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.18, allocations: 20.77 kB / 445.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1802, allocations: 123.4 kB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1802, allocations: 0 / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1802, allocations: 0.5312 kB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1802, 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.0003827/0.1805, allocations: 358.8 kB / 445.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1806, allocations: 8.156 kB / 445.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.191e-05/0.1806, allocations: 30.75 kB / 446 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.1806, allocations: 10.3 kB / 446 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.1808, allocations: 163.7 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1808, allocations: 3.469 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1809, allocations: 384 / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.181, allocations: 60.66 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.181, allocations: 3.094 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.181, allocations: 6.062 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.181, allocations: 0 / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.361e-05/0.1811, allocations: 21.72 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.1813, allocations: 254.9 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1814, allocations: 61.2 kB / 446.5 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.1815, allocations: 17.42 kB / 446.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1815, allocations: 6.938 kB / 446.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.1816, allocations: 77.7 kB / 446.6 MB, free: 42.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.1816, allocations: 0 / 446.6 MB, free: 42.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003914/0.182, allocations: 177.1 kB / 446.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.182, allocations: 53.97 kB / 446.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.1821, allocations: 220.2 kB / 447.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.1821, allocations: 25.7 kB / 447.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.1822, allocations: 109.6 kB / 447.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.1822, allocations: 25.91 kB / 447.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.1822, allocations: 27.34 kB / 447.3 MB, free: 41.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.334e-05/0.1823, allocations: 325.8 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.1823, allocations: 20.5 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.1823, allocations: 41.67 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.561e-05/0.1824, allocations: 61.73 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1824, allocations: 2.906 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001034/0.1825, allocations: 105.2 kB / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1825, allocations: 5.906 kB / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1825, allocations: 6.688 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1825, allocations: 0 / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.1826, allocations: 18.5 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1826, allocations: 5.391 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.1826, allocations: 2.906 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1826, allocations: 2.781 kB / 447.9 MB, free: 41.29 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.371e-05/0.1827, allocations: 132.5 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.1827, allocations: 11.98 kB / 448 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.1828, allocations: 127.9 kB / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1829, allocations: 0 / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1829, allocations: 0 / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1829, allocations: 0 / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.1831, allocations: 379.9 kB / 448.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1831, allocations: 0 / 448.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.473e-05/0.1831, allocations: 8.562 kB / 448.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1831, allocations: 2.812 kB / 448.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1831, allocations: 3.188 kB / 448.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1831, allocations: 7.75 kB / 448.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1831, allocations: 7.969 kB / 448.5 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.1833, allocations: 219.7 kB / 448.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.1833, allocations: 6.859 kB / 448.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.1833, allocations: 6.938 kB / 448.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.912e-05/0.1833, allocations: 6.078 kB / 448.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.1834, allocations: 6.5 kB / 448.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1834, allocations: 10.34 kB / 448.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.821e-05/0.1834, allocations: 156.8 kB / 448.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1834, allocations: 0 / 448.9 MB, free: 40.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.1836, allocations: 24.75 kB / 448.9 MB, free: 40.52 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.0009114/0.1845, allocations: 1.143 MB / 450.1 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.1847, allocations: 56.14 kB / 450.1 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1847, allocations: 4.062 kB / 450.1 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.782e-05/0.1847, allocations: 35.22 kB / 450.2 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.185, allocations: 38.11 kB / 450.2 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1861, allocations: 1.704 MB / 451.9 MB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.766e-05/0.1862, allocations: 98.8 kB / 452 MB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.476e-05/0.1862, allocations: 17.62 kB / 452 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.1863, allocations: 43.97 kB / 452.1 MB, free: 38.21 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1863, allocations: 0 / 452.1 MB, free: 38.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.2022, allocations: 4.33 MB / 456.4 MB, free: 36.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.069/7.271, allocations: 0 / 456.4 MB, free: 36.81 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.331605535931885]