Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.0008739/0.0008739, 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.0008707/0.0008707, 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.9225/0.9225, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.2793/0.2793, 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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.79e-05, allocations: 5.234 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.1801/0.1801, allocations: 1.604 MB / 443.8 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008586/0.181, allocations: 0.5431 MB / 444.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.1811, allocations: 0 / 444.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.1813, allocations: 75.72 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.1815, allocations: 104.8 kB / 444.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.1817, allocations: 118.1 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.1818, allocations: 86.33 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.1819, allocations: 14.25 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.142e-05/0.182, allocations: 50.16 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.109e-05/0.1821, allocations: 57.17 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1821, allocations: 5.062 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-05/0.1822, allocations: 42.44 kB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.1822, allocations: 27.8 kB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.1822, allocations: 12.44 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1824, allocations: 106.3 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1824, allocations: 2.75 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1824, allocations: 0 / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1824, allocations: 0 / 445 MB, free: 43.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003584/0.1828, allocations: 339 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1828, allocations: 13 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.254e-05/0.1828, allocations: 33.81 kB / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.1829, allocations: 14.31 kB / 445.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.183, allocations: 139.6 kB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.183, allocations: 4.188 kB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.183, allocations: 3.406 kB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.484e-05/0.1831, allocations: 63.66 kB / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1831, allocations: 6.484 kB / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1831, allocations: 3.938 kB / 445.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1831, allocations: 3.625 kB / 445.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.752e-05/0.1832, allocations: 31.38 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.1834, allocations: 264.8 kB / 445.9 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.456e-05/0.1835, allocations: 42.48 kB / 446 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.1835, allocations: 23.27 kB / 446 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1835, allocations: 2.656 kB / 446 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.202e-05/0.1835, allocations: 30.56 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1835, allocations: 0 / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005422/0.1841, allocations: 248.2 kB / 446.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.1841, allocations: 51.41 kB / 446.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.1842, allocations: 215.8 kB / 446.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.112e-06/0.1842, allocations: 28.83 kB / 446.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.1842, allocations: 111.5 kB / 446.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.1843, allocations: 24.56 kB / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.1843, allocations: 19 kB / 446.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.833e-05/0.1843, allocations: 327.1 kB / 447 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.1844, allocations: 29.95 kB / 447.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.641e-05/0.1844, allocations: 36.78 kB / 447.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.19e-05/0.1845, allocations: 78.88 kB / 447.2 MB, free: 41.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1845, allocations: 0 / 447.2 MB, free: 41.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001063/0.1846, allocations: 107.7 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.1846, allocations: 8.984 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1846, allocations: 0.7812 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1846, allocations: 2.719 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.1847, allocations: 17.52 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1847, allocations: 3.938 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.1847, allocations: 17.41 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1847, allocations: 3.234 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.707e-05/0.1847, allocations: 129.3 kB / 447.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.1848, allocations: 16.83 kB / 447.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.1849, allocations: 131.2 kB / 447.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1849, allocations: 0 / 447.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1849, allocations: 0 / 447.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1849, allocations: 0 / 447.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.1852, allocations: 386.3 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1852, allocations: 0 / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.1852, allocations: 22.95 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1852, allocations: 5.578 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1852, allocations: 2.906 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1852, allocations: 3.938 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1852, allocations: 3.938 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.1853, allocations: 219.5 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-06/0.1854, allocations: 10.11 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.1854, allocations: 0 / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.925e-05/0.1854, allocations: 13.25 kB / 448.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.1854, allocations: 10.25 kB / 448.3 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1854, allocations: 6.094 kB / 448.3 MB, free: 40.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.329e-05/0.1855, allocations: 161.6 kB / 448.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1855, allocations: 0 / 448.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001653/0.1857, allocations: 22.39 kB / 448.5 MB, free: 40.84 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008401/0.1865, allocations: 1.124 MB / 449.6 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.1866, allocations: 81.2 kB / 449.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.1866, allocations: 0 / 449.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.1867, allocations: 39.94 kB / 449.7 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.1869, allocations: 25.94 kB / 449.7 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.1879, allocations: 1.724 MB / 451.4 MB, free: 38.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.905e-05/0.188, allocations: 102.8 kB / 451.5 MB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.793e-05/0.188, allocations: 18.98 kB / 451.6 MB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.1881, allocations: 34.75 kB / 451.6 MB, free: 38.6 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1881, allocations: 0 / 451.6 MB, free: 38.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01305/0.2011, allocations: 3.864 MB / 455.5 MB, free: 37.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.169, allocations: 12.84 kB / 455.5 MB, free: 37.24 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.356076971627772]