Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.0008892/0.0008892, allocations: 79.7 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.0009781/0.0009781, allocations: 174 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.8954/0.8954, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.225/0.225, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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.Test76,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.709e-05, allocations: 2.281 kB / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.1827/0.1827, allocations: 1.727 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1837, allocations: 0.9802 MB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.1838, allocations: 0 / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.1841, allocations: 49.28 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.1844, allocations: 111.6 kB / 445.1 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.1846, allocations: 81.31 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1847, allocations: 124.7 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1848, allocations: 13.53 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.683e-05/0.1849, allocations: 69.14 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.911e-05/0.185, allocations: 46.83 kB / 445.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.185, allocations: 5.969 kB / 445.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.743e-05/0.1851, allocations: 68.98 kB / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.1852, allocations: 32.58 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.1852, allocations: 23.89 kB / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.1854, allocations: 144.8 kB / 445.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1854, allocations: 3.188 kB / 445.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1854, allocations: 0 / 445.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1854, allocations: 0 / 445.7 MB, free: 42.91 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003765/0.1857, allocations: 378.1 kB / 446.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1858, allocations: 8.438 kB / 446.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.349e-05/0.1858, allocations: 40.62 kB / 446.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.1858, allocations: 14.19 kB / 446.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.186, allocations: 153.1 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.186, allocations: 3.531 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.186, allocations: 7.875 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.1862, allocations: 81.02 kB / 446.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1862, allocations: 11.83 kB / 446.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1862, allocations: 9.922 kB / 446.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1862, allocations: 2.75 kB / 446.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.936e-05/0.1863, allocations: 46.11 kB / 446.5 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.1866, allocations: 293.3 kB / 446.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.1868, allocations: 89.41 kB / 446.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.1868, allocations: 30.06 kB / 446.9 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.1868, allocations: 0 / 446.9 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.1869, allocations: 87.06 kB / 447 MB, free: 42.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.1869, allocations: 0 / 447 MB, free: 42.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005521/0.1875, allocations: 323.7 kB / 447.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.1875, allocations: 51.41 kB / 447.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1876, allocations: 206.3 kB / 447.5 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.1876, allocations: 32.17 kB / 447.6 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.1877, allocations: 103.2 kB / 447.7 MB, free: 41.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.1877, allocations: 46.89 kB / 447.7 MB, free: 41.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.1877, allocations: 31.89 kB / 447.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.742e-05/0.1877, allocations: 336 kB / 448.1 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.581e-05/0.1878, allocations: 37.19 kB / 448.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-05/0.1878, allocations: 56.11 kB / 448.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.164e-05/0.1879, allocations: 112.3 kB / 448.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1879, allocations: 0 / 448.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001373/0.1881, allocations: 168.8 kB / 448.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1881, allocations: 5.562 kB / 448.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1881, allocations: 0 / 448.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1881, allocations: 6.781 kB / 448.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.15e-05/0.1881, allocations: 25.22 kB / 448.5 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1881, allocations: 0 / 448.5 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.682e-05/0.1882, allocations: 14.09 kB / 448.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.1882, allocations: 6.969 kB / 448.5 MB, free: 41.11 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 (15): * Single equations (assignments): 15 * 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.15e-05/0.1882, allocations: 133.5 kB / 448.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.1882, allocations: 16.28 kB / 448.6 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.1884, allocations: 190.8 kB / 448.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1884, allocations: 2.875 kB / 448.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1884, allocations: 0 / 448.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.1884, allocations: 7.375 kB / 448.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.1888, allocations: 478.6 kB / 449.3 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1888, allocations: 0 / 449.3 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.1888, allocations: 27.03 kB / 449.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1888, allocations: 3.938 kB / 449.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.1888, allocations: 2.875 kB / 449.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1888, allocations: 2.906 kB / 449.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1888, allocations: 3.094 kB / 449.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.189, allocations: 286 kB / 449.6 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.189, allocations: 13.5 kB / 449.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.189, allocations: 17.11 kB / 449.6 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.142e-05/0.189, allocations: 6.875 kB / 449.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.1891, allocations: 13.34 kB / 449.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1891, allocations: 6.875 kB / 449.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.285e-05/0.1891, allocations: 155.5 kB / 449.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1891, allocations: 0 / 449.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.1893, allocations: 33.62 kB / 449.9 MB, free: 40.2 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 (16): * Single equations (assignments): 14 * 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.001066/0.1904, allocations: 1.271 MB / 451.1 MB, free: 39.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.1905, allocations: 109.9 kB / 451.2 MB, free: 39.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1905, allocations: 0 / 451.2 MB, free: 39.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.037e-05/0.1906, allocations: 54.2 kB / 451.3 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.1908, allocations: 44.5 kB / 451.3 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1919, allocations: 1.911 MB / 453.2 MB, free: 37.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.569e-05/0.192, allocations: 112.5 kB / 453.4 MB, free: 37.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.192, allocations: 27.17 kB / 453.4 MB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.1921, allocations: 49.19 kB / 453.4 MB, free: 37.71 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1921, allocations: 0 / 453.4 MB, free: 37.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.207, allocations: 4.989 MB / 458.4 MB, free: 36.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.889/7.096, allocations: 3.125 kB / 458.4 MB, free: 36.25 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable t_new.y[3] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[3] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.143306314945221]