Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001331/0.001331, 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.002136/0.002136, 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.9252/0.9252, allocations: 177 MB / 204.1 MB, free: 5.754 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.3036/0.3036, allocations: 34.23 MB / 294.8 MB, free: 0.6914 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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.51e-05, allocations: 2.281 kB / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.1917/0.1917, allocations: 1.599 MB / 443.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.1925, allocations: 0.5269 MB / 444.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.468e-05/0.1926, allocations: 3.938 kB / 444.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000409/0.193, allocations: 458.1 kB / 444.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.1933, allocations: 290 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1936, allocations: 134.5 kB / 445.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1938, allocations: 171.2 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1939, allocations: 8.781 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.734e-05/0.194, allocations: 118.5 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.1941, allocations: 245.6 kB / 445.7 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.1942, allocations: 6.062 kB / 445.7 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.203e-05/0.1942, allocations: 23.62 kB / 445.7 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.301e-05/0.1943, allocations: 85.42 kB / 445.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.1943, allocations: 38.59 kB / 445.8 MB, free: 43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1946, allocations: 241 kB / 446.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1946, allocations: 0 / 446.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1946, allocations: 0 / 446.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1946, allocations: 0 / 446.1 MB, free: 42.96 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.000525/0.1951, allocations: 0.5819 MB / 446.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1951, allocations: 12.59 kB / 446.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.65e-05/0.1952, allocations: 30.75 kB / 446.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.1952, allocations: 49.08 kB / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.1954, allocations: 246.5 kB / 447 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1954, allocations: 384 / 447 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.1955, allocations: 4.453 kB / 447 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1956, allocations: 58.56 kB / 447.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.1956, allocations: 192 / 447.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1956, allocations: 384 / 447.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1956, allocations: 4.125 kB / 447.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.296e-05/0.1957, allocations: 36.75 kB / 447.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.1961, allocations: 338.4 kB / 447.4 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1962, allocations: 43.95 kB / 447.5 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.1963, allocations: 16.78 kB / 447.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.1963, allocations: 9.719 kB / 447.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1963, allocations: 40.47 kB / 447.5 MB, free: 41.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.1963, allocations: 0 / 447.5 MB, free: 41.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002685/0.1966, allocations: 122.3 kB / 447.7 MB, free: 41.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.1966, allocations: 54.22 kB / 447.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004917/0.1971, allocations: 0.8644 MB / 448.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.1971, allocations: 29.64 kB / 448.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.1972, allocations: 215.6 kB / 448.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.1972, allocations: 16.58 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.1973, allocations: 12.59 kB / 448.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.496e-05/0.1973, allocations: 365.6 kB / 449.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.1974, allocations: 16.53 kB / 449.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.1974, allocations: 19.27 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.586e-05/0.1975, allocations: 36.02 kB / 449.3 MB, free: 41.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1975, allocations: 0 / 449.3 MB, free: 41.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000108/0.1976, allocations: 110.7 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1976, allocations: 7.562 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1976, allocations: 0.8438 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1976, allocations: 4 kB / 449.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.1977, allocations: 11.11 kB / 449.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1977, allocations: 5.812 kB / 449.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.1977, allocations: 4.969 kB / 449.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1977, allocations: 3.375 kB / 449.4 MB, free: 41.01 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 (3): * Single equations (assignments): 3 * 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.0001118/0.1978, allocations: 211.3 kB / 449.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1979, allocations: 50.92 kB / 449.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.198, allocations: 120 kB / 449.8 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1981, allocations: 6.625 kB / 449.8 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1981, allocations: 0 / 449.8 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1981, allocations: 2.859 kB / 449.8 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.1982, allocations: 256.4 kB / 450 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.1982, allocations: 0 / 450 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.1983, allocations: 17.05 kB / 450.1 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1983, allocations: 0 / 450.1 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1983, allocations: 2.844 kB / 450.1 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1983, allocations: 2.688 kB / 450.1 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1983, allocations: 3.938 kB / 450.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.1984, allocations: 200.8 kB / 450.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.1984, allocations: 43.67 kB / 450.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1984, allocations: 2.938 kB / 450.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.672e-05/0.1985, allocations: 2.969 kB / 450.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.1985, allocations: 3.469 kB / 450.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1985, allocations: 2.938 kB / 450.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000382/0.1989, allocations: 0.6583 MB / 451 MB, free: 40.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.1989, allocations: 0 / 451 MB, free: 40.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.1991, allocations: 20.27 kB / 451 MB, free: 40.13 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 (3): * Single equations (assignments): 3 * 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.0008607/0.1999, allocations: 0.9989 MB / 452 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.2001, allocations: 38.78 kB / 452 MB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2001, allocations: 6.562 kB / 452 MB, free: 39.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.132e-05/0.2001, allocations: 17.59 kB / 452.1 MB, free: 39.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.2005, allocations: 26.38 kB / 452.1 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.2024, allocations: 3.188 MB / 455.3 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.2025, allocations: 222.1 kB / 455.5 MB, free: 37.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.644e-05/0.2026, allocations: 10.06 kB / 455.5 MB, free: 37.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/0.2027, allocations: 111.2 kB / 455.6 MB, free: 37.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2027, allocations: 3.938 kB / 455.6 MB, free: 37.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.2205, allocations: 6.431 MB / 462 MB, free: 35.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.691/6.911, allocations: 3.938 kB / 462 MB, free: 35.77 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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: 9.000886183232069]