Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001255/0.001255, allocations: 79.69 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.001354/0.001354, allocations: 170 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.9239/0.9239, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2613/0.2613, allocations: 32.79 MB / 293.5 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.402e-05, allocations: 7.547 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003497/0.003531, allocations: 1.615 MB / 441.2 MB, free: 2.609 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.004577, allocations: 0.5297 MB / 441.7 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.443e-05/0.004672, allocations: 4 kB / 441.8 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.00507, allocations: 119.6 kB / 441.9 MB, free: 1.953 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004324/0.005503, allocations: 127.5 kB / 442 MB, free: 1.828 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.006006, allocations: 94.75 kB / 442.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.006283, allocations: 103.8 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.006419, allocations: 11.94 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.00655, allocations: 55.86 kB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.006721, allocations: 87.83 kB / 442.3 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.006743, allocations: 4 kB / 442.3 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.006878, allocations: 47.91 kB / 442.4 MB, free: 1.434 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.814e-05/0.006966, allocations: 31.8 kB / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.007008, allocations: 15.94 kB / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.007293, allocations: 123.5 kB / 442.6 MB, free: 1.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.007297, allocations: 0 / 442.6 MB, free: 1.266 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.007299, allocations: 4 kB / 442.6 MB, free: 1.262 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.007307, allocations: 0 / 442.6 MB, free: 1.262 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.000692/0.007999, allocations: 357.5 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/0.008062, allocations: 11.97 kB / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.696e-05/0.008119, allocations: 38.73 kB / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.008173, allocations: 12.84 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.008444, allocations: 161 kB / 443.1 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.008465, allocations: 4.375 kB / 443.1 MB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.0085, allocations: 8.359 kB / 443.1 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.008712, allocations: 54.19 kB / 443.2 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.00873, allocations: 4.188 kB / 443.2 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.008745, allocations: 7.938 kB / 443.2 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.008752, allocations: 0 / 443.2 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.008856, allocations: 27.97 kB / 443.2 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.009329, allocations: 255.9 kB / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.009454, allocations: 50.48 kB / 443.5 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.009501, allocations: 20.94 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.009528, allocations: 4 kB / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.00956, allocations: 34.56 kB / 443.6 MB, free: 100 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.009561, allocations: 0 / 443.6 MB, free: 100 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.2103/0.2199, allocations: 229.9 kB / 443.8 MB, free: 46.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.2199, allocations: 54.09 kB / 443.9 MB, free: 46.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.2201, allocations: 275.2 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.2201, allocations: 26.58 kB / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.2201, allocations: 116.2 kB / 444.3 MB, free: 46.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.2202, allocations: 29 kB / 444.3 MB, free: 46.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.2202, allocations: 19.56 kB / 444.3 MB, free: 46.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.31e-05/0.2202, allocations: 333.5 kB / 444.6 MB, free: 45.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.2203, allocations: 25.95 kB / 444.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.2203, allocations: 25.67 kB / 444.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.039e-05/0.2204, allocations: 69.53 kB / 444.8 MB, free: 45.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2204, allocations: 0 / 444.8 MB, free: 45.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00012/0.2205, allocations: 107 kB / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2205, allocations: 5.875 kB / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2205, allocations: 0.9844 kB / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2206, allocations: 0 / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.2206, allocations: 16.94 kB / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.2207, allocations: 3.281 kB / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.2207, allocations: 12.12 kB / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.2207, allocations: 4.469 kB / 444.9 MB, free: 45.79 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 6.474e-05/0.2208, allocations: 135.5 kB / 445 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.2208, allocations: 20.59 kB / 445.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.221, allocations: 122.5 kB / 445.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.221, allocations: 2.906 kB / 445.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.221, allocations: 0 / 445.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.221, allocations: 0 / 445.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.2213, allocations: 385.7 kB / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2213, allocations: 2.906 kB / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.82e-05/0.2213, allocations: 16.47 kB / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2213, allocations: 3.094 kB / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.2213, allocations: 0 / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2213, allocations: 6.625 kB / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2213, allocations: 0 / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.2215, allocations: 213.6 kB / 445.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.2215, allocations: 15.59 kB / 445.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.2215, allocations: 3.938 kB / 445.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.2215, allocations: 9.969 kB / 445.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.2215, allocations: 5.922 kB / 445.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.2216, allocations: 2.656 kB / 445.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.796e-05/0.2217, allocations: 214.5 kB / 446.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2217, allocations: 3.656 kB / 446.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.2218, allocations: 25.66 kB / 446.1 MB, free: 45.11 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.0009678/0.2228, allocations: 1.121 MB / 447.2 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.2229, allocations: 63.58 kB / 447.3 MB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2229, allocations: 0 / 447.3 MB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.256e-05/0.223, allocations: 35.58 kB / 447.3 MB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2233, allocations: 17.09 kB / 447.3 MB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.2244, allocations: 1.823 MB / 449.1 MB, free: 42.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.89e-05/0.2245, allocations: 114.5 kB / 449.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.749e-05/0.2245, allocations: 12.69 kB / 449.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.2246, allocations: 37.45 kB / 449.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2246, allocations: 0 / 449.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.2411, allocations: 4.105 MB / 453.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.211, allocations: 8.703 kB / 453.4 MB, free: 41.47 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.378380944952369]