Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.0008824/0.0008824, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0008412/0.0008412, 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.9054/0.9054, allocations: 177 MB / 204.1 MB, free: 5.734 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.2312/0.2312, allocations: 34.24 MB / 294.8 MB, free: 0.6953 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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.223e-05, allocations: 2.281 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.1928/0.1928, allocations: 1.645 MB / 443.8 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.1937, allocations: 0.5358 MB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.1937, allocations: 3 kB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004217/0.1941, allocations: 452.3 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.1945, allocations: 298.8 kB / 445.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1947, allocations: 122.5 kB / 445.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.1949, allocations: 171.9 kB / 445.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1951, allocations: 13.05 kB / 445.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1952, allocations: 122.6 kB / 445.5 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1954, allocations: 241.1 kB / 445.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1954, allocations: 3 kB / 445.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.567e-05/0.1955, allocations: 38.67 kB / 445.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.714e-05/0.1956, allocations: 89.56 kB / 445.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.1956, allocations: 36.88 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.1959, allocations: 239.9 kB / 446.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1959, allocations: 0 / 446.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1959, allocations: 2.438 kB / 446.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1959, allocations: 0 / 446.2 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.0004806/0.1964, allocations: 0.5793 MB / 446.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1964, allocations: 11.62 kB / 446.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.74e-05/0.1964, allocations: 34.69 kB / 446.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.1965, allocations: 47.92 kB / 446.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.1966, allocations: 253.6 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.1966, allocations: 3.281 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.1967, allocations: 8.562 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.1968, allocations: 50.03 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1968, allocations: 192 / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.1968, allocations: 7.812 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1968, allocations: 10.06 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.516e-05/0.1968, allocations: 21.16 kB / 447.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.1971, allocations: 358.6 kB / 447.5 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.1973, allocations: 45.98 kB / 447.6 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.1973, allocations: 14.08 kB / 447.6 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1974, allocations: 0 / 447.6 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.1974, allocations: 37.38 kB / 447.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1974, allocations: 0 / 447.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004225/0.1978, allocations: 234.5 kB / 447.8 MB, free: 41.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.1978, allocations: 54.09 kB / 447.9 MB, free: 41.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/0.1983, allocations: 0.8747 MB / 448.8 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.1983, allocations: 25.7 kB / 448.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.931e-05/0.1984, allocations: 228.5 kB / 449 MB, free: 41.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.1984, allocations: 15.84 kB / 449 MB, free: 41.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.1985, allocations: 26.53 kB / 449.1 MB, free: 41.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.1985, allocations: 360.9 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.1986, allocations: 18.62 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.149e-05/0.1986, allocations: 22.22 kB / 449.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.728e-05/0.1986, allocations: 45.88 kB / 449.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1986, allocations: 0 / 449.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001138/0.1988, allocations: 115.7 kB / 449.6 MB, free: 41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1988, allocations: 9.359 kB / 449.6 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1988, allocations: 4 kB / 449.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1988, allocations: 0 / 449.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.694e-05/0.1988, allocations: 15.28 kB / 449.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1989, allocations: 3.375 kB / 449.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.267e-05/0.1989, allocations: 2.938 kB / 449.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1989, allocations: 5.594 kB / 449.7 MB, free: 40.99 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 0.0001018/0.199, allocations: 215.7 kB / 449.9 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.199, allocations: 51.67 kB / 449.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.1992, allocations: 140 kB / 450 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1992, allocations: 3.469 kB / 450.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1992, allocations: 3.938 kB / 450.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1992, allocations: 0 / 450.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.1995, allocations: 431.5 kB / 450.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1995, allocations: 0 / 450.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.137e-05/0.1995, allocations: 8.844 kB / 450.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1995, allocations: 3.469 kB / 450.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1995, allocations: 6.969 kB / 450.5 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1995, allocations: 0 / 450.5 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1995, allocations: 0 / 450.5 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.1996, allocations: 221.5 kB / 450.7 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.1997, allocations: 39.3 kB / 450.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1997, allocations: 0 / 450.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.478e-05/0.1997, allocations: 10.17 kB / 450.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.1998, allocations: 6.156 kB / 450.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-06/0.1998, allocations: 0 / 450.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003499/0.2001, allocations: 0.6646 MB / 451.4 MB, free: 39.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2001, allocations: 4 kB / 451.4 MB, free: 39.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.2003, allocations: 19.88 kB / 451.5 MB, free: 39.96 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.0008879/0.2012, allocations: 1.076 MB / 452.5 MB, free: 39.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.2013, allocations: 43.86 kB / 452.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.2013, allocations: 0 / 452.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.414e-05/0.2013, allocations: 27.8 kB / 452.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.2016, allocations: 23.34 kB / 452.6 MB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.2036, allocations: 3.252 MB / 455.9 MB, free: 37.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.2037, allocations: 219.5 kB / 456.1 MB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.488e-05/0.2038, allocations: 17.19 kB / 456.1 MB, free: 37.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.2038, allocations: 104.2 kB / 456.2 MB, free: 37.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2038, allocations: 0 / 456.2 MB, free: 37.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.2208, allocations: 6.726 MB / 462.9 MB, free: 35.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.817/7.038, allocations: 3.938 kB / 462.9 MB, free: 35.52 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.988051258027554]