Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001/0.001, 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.001298/0.001298, allocations: 174.3 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.8946/0.8946, allocations: 177.1 MB / 204.2 MB, free: 5.746 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.2374/0.2374, allocations: 32.79 MB / 293.5 MB, free: 1.223 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.379e-05, allocations: 6.281 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003039/0.003063, allocations: 1.614 MB / 441.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009646/0.004027, allocations: 0.5297 MB / 441.8 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.004097, allocations: 7.875 kB / 441.8 MB, free: 2.055 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.004416, allocations: 91.69 kB / 441.8 MB, free: 1.965 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.004835, allocations: 111.5 kB / 442 MB, free: 1.855 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.005172, allocations: 90.31 kB / 442 MB, free: 1.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.005371, allocations: 91.73 kB / 442.1 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.005486, allocations: 16 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.761e-05/0.005584, allocations: 43.88 kB / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.005696, allocations: 59.86 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.005714, allocations: 4 kB / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.005821, allocations: 39.92 kB / 442.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.00588, allocations: 27.86 kB / 442.3 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.005915, allocations: 19.92 kB / 442.3 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.00614, allocations: 107.6 kB / 442.4 MB, free: 1.367 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.006144, allocations: 0 / 442.4 MB, free: 1.367 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.006145, allocations: 0 / 442.4 MB, free: 1.367 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.00615, allocations: 0 / 442.4 MB, free: 1.367 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.000491/0.006641, allocations: 349.5 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.006687, allocations: 12.02 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.305e-05/0.00676, allocations: 34.75 kB / 442.8 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.006799, allocations: 12.84 kB / 442.8 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.006984, allocations: 137.6 kB / 443 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.006998, allocations: 8.375 kB / 443 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.007021, allocations: 4.328 kB / 443 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.007188, allocations: 58.17 kB / 443 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.007203, allocations: 4.188 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.007213, allocations: 3.938 kB / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.007219, allocations: 4 kB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.448e-05/0.007314, allocations: 27.97 kB / 443.1 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.007708, allocations: 259.9 kB / 443.3 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.007825, allocations: 46.5 kB / 443.4 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.56e-05/0.007871, allocations: 12.94 kB / 443.4 MB, free: 296 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.007896, allocations: 4 kB / 443.4 MB, free: 292 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.00792, allocations: 30.56 kB / 443.4 MB, free: 252 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.007922, allocations: 0 / 443.4 MB, free: 252 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008377/0.008759, allocations: 233.3 kB / 443.7 MB, free: 12 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1848/0.1935, allocations: 55.41 kB / 443.7 MB, free: 46.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.1938, allocations: 234.4 kB / 443.9 MB, free: 46.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1938, allocations: 27.2 kB / 444 MB, free: 46.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.1938, allocations: 109.1 kB / 444.1 MB, free: 46.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.1939, allocations: 30.39 kB / 444.1 MB, free: 46.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1939, allocations: 26.78 kB / 444.1 MB, free: 46.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.1939, allocations: 330.1 kB / 444.5 MB, free: 45.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.771e-05/0.194, allocations: 22.77 kB / 444.5 MB, free: 45.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.627e-05/0.1941, allocations: 26.52 kB / 444.5 MB, free: 45.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.754e-05/0.1942, allocations: 64.5 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1942, allocations: 1.625 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001434/0.1943, allocations: 105.6 kB / 444.7 MB, free: 45.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1943, allocations: 6.938 kB / 444.7 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1943, allocations: 1.781 kB / 444.7 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1943, allocations: 0 / 444.7 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.1944, allocations: 21.16 kB / 444.7 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1944, allocations: 0 / 444.7 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.1945, allocations: 12.69 kB / 444.7 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.1945, allocations: 0 / 444.7 MB, free: 45.91 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 5.935e-05/0.1945, allocations: 130.8 kB / 444.8 MB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.1945, allocations: 19.67 kB / 444.9 MB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.1947, allocations: 116.9 kB / 445 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1947, allocations: 9.781 kB / 445 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1947, allocations: 0 / 445 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1947, allocations: 0 / 445 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.195, allocations: 372.3 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.195, allocations: 1.688 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.1951, allocations: 17.66 kB / 445.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1951, allocations: 3.375 kB / 445.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1951, allocations: 3.125 kB / 445.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1951, allocations: 2.812 kB / 445.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1951, allocations: 4.969 kB / 445.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.1952, allocations: 210.9 kB / 445.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.1952, allocations: 14.41 kB / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.1953, allocations: 2.844 kB / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.662e-05/0.1953, allocations: 10.91 kB / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.1953, allocations: 6.094 kB / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1953, allocations: 6.5 kB / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.425e-05/0.1954, allocations: 171.1 kB / 445.8 MB, free: 45.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1954, allocations: 0 / 445.8 MB, free: 45.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.1956, allocations: 21.08 kB / 445.8 MB, free: 45.27 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.0009597/0.1965, allocations: 1.129 MB / 446.9 MB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.1967, allocations: 54.14 kB / 447 MB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.1967, allocations: 0 / 447 MB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.028e-05/0.1967, allocations: 41.89 kB / 447 MB, free: 44.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.197, allocations: 21.34 kB / 447.1 MB, free: 44.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.198, allocations: 1.716 MB / 448.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.49e-05/0.1981, allocations: 98.52 kB / 448.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.555e-05/0.1981, allocations: 17.11 kB / 448.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.1982, allocations: 37.45 kB / 448.9 MB, free: 43.06 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1982, allocations: 0 / 448.9 MB, free: 43.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.2143, allocations: 3.896 MB / 452.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.409, allocations: 9.516 kB / 452.8 MB, free: 41.7 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_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_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.49325796496123]