Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008487/0.0008487, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008344/0.0008344, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9079/0.9079, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2605/0.2605, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.67e-05, allocations: 5.094 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.1924/0.1924, allocations: 1.657 MB / 443.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008007/0.1932, allocations: 0.5665 MB / 444.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.1933, allocations: 0 / 444.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.1937, allocations: 460.8 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.1941, allocations: 295.7 kB / 445.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.1944, allocations: 174.7 kB / 445.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1946, allocations: 186.9 kB / 445.5 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1947, allocations: 10.19 kB / 445.5 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1948, allocations: 126.7 kB / 445.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.195, allocations: 246 kB / 445.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.195, allocations: 2.594 kB / 445.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.1951, allocations: 35.7 kB / 445.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.781e-05/0.1951, allocations: 83.81 kB / 446 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.1952, allocations: 44.27 kB / 446 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.1954, allocations: 255.2 kB / 446.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1954, allocations: 0 / 446.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1954, allocations: 0 / 446.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1954, allocations: 0 / 446.3 MB, free: 43.04 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.0005384/0.196, allocations: 0.5928 MB / 446.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.196, allocations: 11.5 kB / 446.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.911e-05/0.196, allocations: 34.69 kB / 446.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.1961, allocations: 45.12 kB / 447 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.1963, allocations: 250.5 kB / 447.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1963, allocations: 7.125 kB / 447.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1963, allocations: 7.188 kB / 447.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.1964, allocations: 66.62 kB / 447.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1964, allocations: 192 / 447.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.1964, allocations: 384 / 447.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1965, allocations: 4.125 kB / 447.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.1965, allocations: 41.12 kB / 447.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.1969, allocations: 372.9 kB / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.015e-05/0.197, allocations: 42.17 kB / 447.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.197, allocations: 34.25 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.197, allocations: 1.172 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.1971, allocations: 37.25 kB / 447.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1971, allocations: 0 / 447.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005517/0.1976, allocations: 326.6 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.1976, allocations: 54.28 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.1981, allocations: 0.8697 MB / 449 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.1981, allocations: 25.7 kB / 449.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/0.1982, allocations: 221.4 kB / 449.3 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.1982, allocations: 22.7 kB / 449.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.1982, allocations: 22.8 kB / 449.3 MB, free: 41.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.1983, allocations: 363.1 kB / 449.7 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/0.1984, allocations: 34.48 kB / 449.7 MB, free: 41.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.485e-05/0.1984, allocations: 41.97 kB / 449.8 MB, free: 41.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1985, allocations: 96.03 kB / 449.9 MB, free: 40.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1985, allocations: 0 / 449.9 MB, free: 40.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001667/0.1987, allocations: 159.7 kB / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1987, allocations: 9.594 kB / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1987, allocations: 0 / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1987, allocations: 0 / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.581e-05/0.1988, allocations: 21.27 kB / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1988, allocations: 0 / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.1989, allocations: 14.72 kB / 450.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1989, allocations: 4 kB / 450.1 MB, free: 40.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 (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 0.0001076/0.199, allocations: 224.2 kB / 450.3 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.199, allocations: 46.7 kB / 450.3 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.1992, allocations: 185 kB / 450.5 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1992, allocations: 2.906 kB / 450.5 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1992, allocations: 3.938 kB / 450.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1992, allocations: 0 / 450.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.1996, allocations: 491.3 kB / 451 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1996, allocations: 6.656 kB / 451 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.1997, allocations: 15.86 kB / 451 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1997, allocations: 2.812 kB / 451 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.1997, allocations: 0 / 451 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1997, allocations: 0 / 451 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1997, allocations: 2.688 kB / 451 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.1998, allocations: 267.8 kB / 451.3 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.1999, allocations: 39.47 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.1999, allocations: 0 / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.1999, allocations: 16.12 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.2, allocations: 3.375 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.2, allocations: 2.906 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003272/0.2003, allocations: 0.6643 MB / 452 MB, free: 39.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2003, allocations: 0 / 452 MB, free: 39.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001837/0.2005, allocations: 29.16 kB / 452 MB, free: 39.84 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.0009055/0.2014, allocations: 1.113 MB / 453.1 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.2016, allocations: 84.41 kB / 453.2 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2016, allocations: 0 / 453.2 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.583e-05/0.2017, allocations: 40.44 kB / 453.3 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.202, allocations: 41.34 kB / 453.3 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.2044, allocations: 3.381 MB / 456.7 MB, free: 37.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.2045, allocations: 229.8 kB / 456.9 MB, free: 37.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.908e-05/0.2046, allocations: 26.75 kB / 456.9 MB, free: 37.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.2047, allocations: 121.2 kB / 457.1 MB, free: 37.01 MB / 410.7 MB Notification: Performance of SimCode: time 9.91e-07/0.2047, allocations: 0 / 457.1 MB, free: 37.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.2233, allocations: 6.938 MB / 464 MB, free: 35.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.188, allocations: 3.859 kB / 464 MB, free: 35.31 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.329420349560678]