Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001785/0.001785, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001835/0.001835, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.09 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 78.91 kB / 417.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1754, allocations: 62.44 MB / 480.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.005942/0.1814, allocations: 2.11 MB / 482.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003915/0.1854, allocations: 1.391 MB / 483.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.1857, allocations: 0 / 483.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.1861, allocations: 67.44 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.1873, allocations: 215.1 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003018/0.1903, allocations: 0.6214 MB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000921/0.1912, allocations: 355 kB / 484.9 MB, free: 388 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.1915, allocations: 68.98 kB / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.192, allocations: 151.4 kB / 485.1 MB, free: 168 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004348/0.1924, allocations: 203.2 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.492e-05/0.1925, allocations: 16 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.1928, allocations: 67.92 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.1931, allocations: 151.5 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.1934, allocations: 182.5 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009573/0.1944, allocations: 438.3 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1944, allocations: 4 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1945, allocations: 0 / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.1945, allocations: 0 / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001778/0.1963, allocations: 0.8316 MB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.1964, allocations: 8.031 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.188e-05/0.1964, allocations: 46.67 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000748/0.1972, allocations: 96.14 kB / 487.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009855/0.1982, allocations: 0.4963 MB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1982, allocations: 8.375 kB / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.1983, allocations: 11.94 kB / 487.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/0.1989, allocations: 166.2 kB / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1989, allocations: 0 / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.1989, allocations: 0 / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.199, allocations: 8 kB / 487.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.1995, allocations: 119.8 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.2012, allocations: 0.7307 MB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.2018, allocations: 133.2 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.2021, allocations: 69.8 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.2021, allocations: 4 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.2022, allocations: 42.5 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 2.013e-06/0.2022, allocations: 0 / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.003776/0.206, allocations: 0.755 MB / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.2061, allocations: 81.11 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.2079, allocations: 0.9339 MB / 490.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.2079, allocations: 29.7 kB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.2083, allocations: 276.3 kB / 491 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.926e-05/0.2084, allocations: 67.02 kB / 491 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.2085, allocations: 37.69 kB / 491.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2087, allocations: 321.9 kB / 491.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.2092, allocations: 115.9 kB / 491.5 MB, free: 9.508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/0.2098, allocations: 129 kB / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.211, allocations: 253.6 kB / 491.9 MB, free: 9.125 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.211, allocations: 0 / 491.9 MB, free: 9.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001339/0.2123, allocations: 340.6 kB / 492.2 MB, free: 8.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2124, allocations: 4 kB / 492.2 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2124, allocations: 7.984 kB / 492.2 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2124, allocations: 0 / 492.2 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.213, allocations: 63.94 kB / 492.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.213, allocations: 0 / 492.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.2134, allocations: 27.83 kB / 492.3 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.2135, allocations: 12.2 kB / 492.3 MB, free: 8.672 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0004073/0.2139, allocations: 225.7 kB / 492.5 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.2141, allocations: 63.19 kB / 492.6 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.2158, allocations: 402.7 kB / 493 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.2158, allocations: 0 / 493 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.2158, allocations: 8 kB / 493 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.2159, allocations: 0 / 493 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.2187, allocations: 0.9736 MB / 494 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.2187, allocations: 0 / 494 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.2192, allocations: 51.89 kB / 494 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.2192, allocations: 0 / 494 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.2193, allocations: 11.98 kB / 494 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.2193, allocations: 3.938 kB / 494 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2193, allocations: 4 kB / 494 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.2208, allocations: 0.5057 MB / 494.5 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.2211, allocations: 152.3 kB / 494.7 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.2213, allocations: 8 kB / 494.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005035/0.2218, allocations: 27.91 kB / 494.7 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.222, allocations: 19.97 kB / 494.7 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.222, allocations: 8 kB / 494.7 MB, free: 6.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001422/0.2234, allocations: 0.6786 MB / 495.4 MB, free: 5.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.2235, allocations: 0 / 495.4 MB, free: 5.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007364/0.2242, allocations: 71.98 kB / 495.5 MB, free: 5.367 MB / 366.1 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 (20): * Single equations (assignments): 20 * 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.00293/0.2272, allocations: 1.346 MB / 496.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007199/0.2279, allocations: 275.6 kB / 497.1 MB, free: 3.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2279, allocations: 0 / 497.1 MB, free: 3.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.2282, allocations: 143.8 kB / 497.2 MB, free: 3.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00066/0.2289, allocations: 79.81 kB / 497.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00741/0.2363, allocations: 5.69 MB / 0.4912 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.2368, allocations: 0.8925 MB / 0.4921 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002712/0.2371, allocations: 111.2 kB / 0.4922 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.2374, allocations: 191.4 kB / 0.4924 GB, free: 12.65 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2374, allocations: 0 / 0.4924 GB, free: 12.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.2665, allocations: 10.53 MB / 0.5027 GB, free: 2.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.365/7.632, allocations: 5.906 kB / 0.5027 GB, free: 2.184 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches