Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.0007974/0.0007974, 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.0008015/0.0008015, allocations: 174 kB / 23.95 MB, free: 0.6133 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.8725/0.8725, allocations: 177.1 MB / 204.2 MB, free: 5.723 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.2476/0.2476, 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.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.866e-05, allocations: 2.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.2112/0.2112, allocations: 1.647 MB / 443.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.2125, allocations: 1.247 MB / 445.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.2126, allocations: 0 / 445.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.2128, allocations: 26.12 kB / 445.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.2131, allocations: 87.94 kB / 445.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.2133, allocations: 141.1 kB / 445.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2134, allocations: 76.66 kB / 445.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2135, allocations: 14.39 kB / 445.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.241e-05/0.2136, allocations: 37.31 kB / 445.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.286e-05/0.2137, allocations: 30 kB / 445.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.2137, allocations: 2.938 kB / 445.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.2138, allocations: 93.92 kB / 445.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.2139, allocations: 16.5 kB / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.2139, allocations: 25.2 kB / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.2141, allocations: 162 kB / 445.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2141, allocations: 2.031 kB / 445.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2141, allocations: 0 / 445.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2141, allocations: 0 / 445.8 MB, free: 42.53 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.0004347/0.2145, allocations: 345.8 kB / 446.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2146, allocations: 17.61 kB / 446.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.856e-05/0.2146, allocations: 30.75 kB / 446.2 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.2147, allocations: 10.2 kB / 446.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.2148, allocations: 130.6 kB / 446.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.2148, allocations: 3.75 kB / 446.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.2148, allocations: 6.281 kB / 446.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.2149, allocations: 100.3 kB / 446.4 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2149, allocations: 1.266 kB / 446.4 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.215, allocations: 10.09 kB / 446.4 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.215, allocations: 7.031 kB / 446.4 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.994e-05/0.215, allocations: 35.58 kB / 446.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.2153, allocations: 262.6 kB / 446.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.43e-05/0.2153, allocations: 46.23 kB / 446.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.2154, allocations: 22.39 kB / 446.8 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.2154, allocations: 3.688 kB / 446.8 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.2154, allocations: 40.05 kB / 446.8 MB, free: 41.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.2154, allocations: 0 / 446.8 MB, free: 41.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004441/0.2158, allocations: 213.6 kB / 447 MB, free: 41.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.2159, allocations: 79.89 kB / 447.1 MB, free: 41.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.216, allocations: 154.6 kB / 447.3 MB, free: 41.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.216, allocations: 28.52 kB / 447.3 MB, free: 41.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.216, allocations: 93.97 kB / 447.4 MB, free: 41.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.216, allocations: 29.92 kB / 447.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.216, allocations: 19.81 kB / 447.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.282e-05/0.2161, allocations: 324.8 kB / 447.8 MB, free: 40.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.2161, allocations: 30.44 kB / 447.8 MB, free: 40.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.2162, allocations: 76.34 kB / 447.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.2163, allocations: 77.41 kB / 447.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2163, allocations: 0 / 447.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001323/0.2164, allocations: 116.8 kB / 448.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2164, allocations: 5.781 kB / 448.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2164, allocations: 0 / 448.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2164, allocations: 0 / 448.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.2165, allocations: 21.14 kB / 448.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2165, allocations: 0 / 448.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.2165, allocations: 15.78 kB / 448.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.2166, allocations: 2.156 kB / 448.1 MB, free: 40.84 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 (7): * Single equations (assignments): 7 * 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.515e-05/0.2166, allocations: 128.2 kB / 448.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.2166, allocations: 9.297 kB / 448.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.2168, allocations: 127.4 kB / 448.4 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2168, allocations: 0 / 448.4 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2168, allocations: 2.656 kB / 448.4 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2168, allocations: 0 / 448.4 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.2171, allocations: 366.6 kB / 448.7 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2171, allocations: 0 / 448.7 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.2171, allocations: 22.84 kB / 448.7 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2171, allocations: 0 / 448.7 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.2171, allocations: 1.312 kB / 448.7 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.2171, allocations: 0 / 448.7 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2171, allocations: 6.5 kB / 448.8 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.2173, allocations: 210.2 kB / 449 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.2173, allocations: 15.2 kB / 449 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.2173, allocations: 6.781 kB / 449 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.777e-05/0.2173, allocations: 8.75 kB / 449 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.2174, allocations: 9.172 kB / 449 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.2174, allocations: 8.797 kB / 449 MB, free: 40.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.561e-05/0.2174, allocations: 113.7 kB / 449.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2174, allocations: 0 / 449.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.2176, allocations: 40.86 kB / 449.2 MB, free: 40.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0008748/0.2185, allocations: 1.19 MB / 450.3 MB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.2186, allocations: 77.61 kB / 450.4 MB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.2186, allocations: 0 / 450.4 MB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.463e-05/0.2187, allocations: 35.72 kB / 450.5 MB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.2189, allocations: 29.11 kB / 450.5 MB, free: 39.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.2199, allocations: 1.597 MB / 452.1 MB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.743e-05/0.2199, allocations: 83.08 kB / 452.2 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.741e-05/0.22, allocations: 9.203 kB / 452.2 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.22, allocations: 35.02 kB / 452.2 MB, free: 37.98 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.22, allocations: 0 / 452.2 MB, free: 37.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.2361, allocations: 4.288 MB / 456.5 MB, free: 36.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.922/7.158, allocations: 8.688 kB / 456.5 MB, free: 36.5 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.204975979402661]