Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.0008041/0.0008041, 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.0008215/0.0008215, 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.8769/0.8769, 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.2605/0.2605, 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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.491e-05, allocations: 2.281 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.1993/0.1993, allocations: 1.667 MB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008117/0.2001, allocations: 0.5611 MB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.2002, allocations: 0 / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.2004, allocations: 60.78 kB / 444.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.2007, allocations: 96.3 kB / 444.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.201, allocations: 175.2 kB / 444.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.2011, allocations: 90.92 kB / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2012, allocations: 23.61 kB / 444.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.76e-05/0.2013, allocations: 49.8 kB / 444.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.246e-05/0.2013, allocations: 36.94 kB / 444.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.2013, allocations: 5.781 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.211e-05/0.2014, allocations: 47.83 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.2015, allocations: 23.97 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.2015, allocations: 20.58 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.2017, allocations: 118.8 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2017, allocations: 0 / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2017, allocations: 0 / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2017, allocations: 0 / 445.2 MB, free: 43.05 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000444/0.2022, allocations: 354.3 kB / 445.5 MB, free: 42.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2022, allocations: 9.594 kB / 445.5 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.2022, allocations: 33.75 kB / 445.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.2023, allocations: 11.08 kB / 445.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.2024, allocations: 150 kB / 445.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2024, allocations: 6.75 kB / 445.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.2025, allocations: 5.844 kB / 445.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.2026, allocations: 67.25 kB / 445.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.2026, allocations: 3.531 kB / 445.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.2026, allocations: 7.25 kB / 445.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2027, allocations: 0 / 445.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.65e-05/0.2027, allocations: 44.98 kB / 445.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.2031, allocations: 291.7 kB / 446.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.2033, allocations: 52.31 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.2033, allocations: 35.22 kB / 446.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.2034, allocations: 0 / 446.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.2034, allocations: 37.47 kB / 446.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.2034, allocations: 2.875 kB / 446.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008974/0.2043, allocations: 422 kB / 446.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.2043, allocations: 51.41 kB / 446.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.2044, allocations: 194.2 kB / 446.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.2044, allocations: 25.7 kB / 446.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.2045, allocations: 104.4 kB / 447 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.2045, allocations: 40.11 kB / 447.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.2045, allocations: 28.27 kB / 447.1 MB, free: 41.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.2046, allocations: 322 kB / 447.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.2047, allocations: 54.89 kB / 447.5 MB, free: 41.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/0.2047, allocations: 52.56 kB / 447.5 MB, free: 41.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.2049, allocations: 140.5 kB / 447.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2049, allocations: 0 / 447.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000186/0.2051, allocations: 162.7 kB / 447.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2051, allocations: 5.344 kB / 447.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2051, allocations: 0 / 447.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2051, allocations: 4 kB / 447.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/0.2052, allocations: 27.36 kB / 447.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2052, allocations: 0 / 447.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.2052, allocations: 15.14 kB / 447.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2052, allocations: 9.891 kB / 447.9 MB, free: 41.44 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 (11): * Single equations (assignments): 11 * 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 6.181e-05/0.2053, allocations: 127.9 kB / 448 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.2053, allocations: 12.97 kB / 448 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.2056, allocations: 199.2 kB / 448.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2056, allocations: 0 / 448.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2056, allocations: 0 / 448.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2056, allocations: 3.938 kB / 448.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.206, allocations: 473.1 kB / 448.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.206, allocations: 0 / 448.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.227e-05/0.206, allocations: 31.09 kB / 448.7 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.206, allocations: 6.906 kB / 448.7 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.2061, allocations: 7.328 kB / 448.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2061, allocations: 3.094 kB / 448.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2061, allocations: 0 / 448.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.2062, allocations: 263.4 kB / 449 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.2063, allocations: 18.75 kB / 449 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.2063, allocations: 10.03 kB / 449 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.094e-05/0.2063, allocations: 8.922 kB / 449 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.2064, allocations: 16.73 kB / 449 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.2064, allocations: 2.875 kB / 449 MB, free: 40.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.935e-05/0.2064, allocations: 137.6 kB / 449.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2064, allocations: 0 / 449.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001875/0.2066, allocations: 26.67 kB / 449.2 MB, free: 40.6 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001053/0.2077, allocations: 1.195 MB / 450.4 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.2079, allocations: 130.7 kB / 450.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2079, allocations: 0 / 450.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/0.208, allocations: 62.25 kB / 450.6 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.2083, allocations: 22.09 kB / 450.6 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.2095, allocations: 1.908 MB / 452.5 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.728e-05/0.2096, allocations: 97.05 kB / 452.6 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.833e-05/0.2097, allocations: 39.27 kB / 452.6 MB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/0.2097, allocations: 40.48 kB / 452.7 MB, free: 38.21 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2097, allocations: 0 / 452.7 MB, free: 38.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.2259, allocations: 4.169 MB / 456.8 MB, free: 36.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.807/7.033, allocations: 10.11 kB / 456.9 MB, free: 36.84 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_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_CombiTable2Dv_Test24.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.150387805886567]