Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.0008687/0.0008687, 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.0008871/0.0008871, 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.9396/0.9396, allocations: 177 MB / 204.1 MB, free: 5.75 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.253/0.253, allocations: 34.25 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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.141e-05, allocations: 9.094 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.1941/0.1941, allocations: 1.592 MB / 443.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007224/0.1949, allocations: 0.519 MB / 444.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.1949, allocations: 0 / 444.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.1951, allocations: 29.58 kB / 444.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.1953, allocations: 82.39 kB / 444.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1955, allocations: 115.1 kB / 444.5 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.1956, allocations: 66.31 kB / 444.6 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.1957, allocations: 11.91 kB / 444.6 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.009e-05/0.1957, allocations: 26.55 kB / 444.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.1958, allocations: 22.56 kB / 444.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1958, allocations: 3.031 kB / 444.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.079e-05/0.1959, allocations: 35.39 kB / 444.7 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.1959, allocations: 16.25 kB / 444.7 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.1959, allocations: 9.594 kB / 444.7 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.196, allocations: 79.98 kB / 444.8 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.196, allocations: 0 / 444.8 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.196, allocations: 3.5 kB / 444.8 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1961, allocations: 0 / 444.8 MB, free: 42.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003198/0.1964, allocations: 314.2 kB / 445.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1964, allocations: 13.69 kB / 445.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.243e-05/0.1964, allocations: 33.44 kB / 445.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.1965, allocations: 14.97 kB / 445.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1966, allocations: 130.6 kB / 445.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.1966, allocations: 3 kB / 445.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.1966, allocations: 3.125 kB / 445.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.227e-05/0.1967, allocations: 50.7 kB / 445.3 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1967, allocations: 3.312 kB / 445.3 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.1967, allocations: 384 / 445.3 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1967, allocations: 4.125 kB / 445.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.1967, allocations: 22.92 kB / 445.4 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.197, allocations: 247.5 kB / 445.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1971, allocations: 48.09 kB / 445.6 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.1972, allocations: 20.86 kB / 445.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1972, allocations: 6.625 kB / 445.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.002e-05/0.1972, allocations: 30.56 kB / 445.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.02e-07/0.1972, allocations: 0 / 445.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003522/0.1975, allocations: 155.7 kB / 445.9 MB, free: 41.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.1976, allocations: 51.41 kB / 445.9 MB, free: 41.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.1976, allocations: 154.4 kB / 446.1 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.121e-06/0.1977, allocations: 25.7 kB / 446.1 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/0.1977, allocations: 94.17 kB / 446.2 MB, free: 41.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.1977, allocations: 22.77 kB / 446.2 MB, free: 41.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.1977, allocations: 18.86 kB / 446.2 MB, free: 41.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.056e-05/0.1978, allocations: 318.2 kB / 446.5 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-05/0.1978, allocations: 25.16 kB / 446.5 MB, free: 41.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.092e-05/0.1978, allocations: 21.34 kB / 446.6 MB, free: 41.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.057e-05/0.1979, allocations: 56.12 kB / 446.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1979, allocations: 0 / 446.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.6e-05/0.198, allocations: 92.55 kB / 446.7 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.198, allocations: 5.812 kB / 446.7 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.198, allocations: 3.469 kB / 446.7 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.198, allocations: 0 / 446.7 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.776e-05/0.1981, allocations: 18.86 kB / 446.7 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1981, allocations: 5.875 kB / 446.7 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.1981, allocations: 6.812 kB / 446.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.1981, allocations: 2.5 kB / 446.8 MB, free: 41.09 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 (5): * Single equations (assignments): 5 * 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.265e-05/0.1981, allocations: 123.8 kB / 446.9 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.1982, allocations: 13.73 kB / 446.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.1983, allocations: 94.25 kB / 447 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1983, allocations: 2.875 kB / 447 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1983, allocations: 0 / 447 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1983, allocations: 0 / 447 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.1985, allocations: 324.4 kB / 447.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1985, allocations: 0 / 447.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.1986, allocations: 12.17 kB / 447.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1986, allocations: 2.875 kB / 447.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.1986, allocations: 0 / 447.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1986, allocations: 0 / 447.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1986, allocations: 0 / 447.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.1987, allocations: 194.3 kB / 447.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.1987, allocations: 6.891 kB / 447.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.1987, allocations: 0 / 447.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/0.1987, allocations: 5.875 kB / 447.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.1988, allocations: 10.89 kB / 447.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1988, allocations: 2.781 kB / 447.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.458e-05/0.1988, allocations: 117.7 kB / 447.6 MB, free: 40.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1988, allocations: 0 / 447.6 MB, free: 40.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.199, allocations: 17.59 kB / 447.7 MB, free: 40.43 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 (5): * Single equations (assignments): 5 * 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.0008096/0.1998, allocations: 1.03 MB / 448.7 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.1999, allocations: 52.52 kB / 448.7 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1999, allocations: 0 / 448.7 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.528e-05/0.1999, allocations: 30.89 kB / 448.8 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.2002, allocations: 15.91 kB / 448.8 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000791/0.201, allocations: 1.482 MB / 450.3 MB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.183e-05/0.201, allocations: 80.48 kB / 450.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.751e-05/0.201, allocations: 11.56 kB / 450.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.2011, allocations: 30.62 kB / 450.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2011, allocations: 4 kB / 450.4 MB, free: 38.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.2151, allocations: 3.262 MB / 453.7 MB, free: 37.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.374/7.589, allocations: 25.91 kB / 453.7 MB, free: 37.11 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.754189698025584]