Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001149/0.001149, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002784, allocations: 75.66 kB / 416.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1814, allocations: 62.45 MB / 479.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003687/0.1851, allocations: 2.155 MB / 481.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1871, allocations: 1.282 MB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.814e-05/0.1872, allocations: 4 kB / 482.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1875, allocations: 39.7 kB / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.1879, allocations: 191.4 kB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008503/0.1888, allocations: 433.4 kB / 483.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.1892, allocations: 307 kB / 483.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1893, allocations: 60.92 kB / 483.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.1896, allocations: 131.4 kB / 484 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.1899, allocations: 199.2 kB / 484.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.1899, allocations: 12 kB / 484.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.1901, allocations: 55.98 kB / 484.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.1902, allocations: 143.5 kB / 484.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.1904, allocations: 178.5 kB / 484.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.1908, allocations: 410.4 kB / 484.9 MB, free: 92 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1908, allocations: 7.938 kB / 484.9 MB, free: 84 kB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1908, allocations: 0 / 484.9 MB, free: 84 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1908, allocations: 0 / 484.9 MB, free: 84 kB / 350.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.001111/0.192, allocations: 0.824 MB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.192, allocations: 12.88 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.1921, allocations: 38.73 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004259/0.1925, allocations: 104 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.1931, allocations: 484.4 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1931, allocations: 8.375 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.1931, allocations: 15.92 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.1935, allocations: 151 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1935, allocations: 4 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1935, allocations: 0 / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1935, allocations: 8 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.1938, allocations: 95.92 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009906/0.1948, allocations: 0.6995 MB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.1952, allocations: 125.2 kB / 487.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.1953, allocations: 57.81 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.1954, allocations: 7.984 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.1954, allocations: 46.42 kB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.1954, allocations: 0 / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002106/0.1975, allocations: 0.6732 MB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.1976, allocations: 85.11 kB / 488.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.1986, allocations: 0.9221 MB / 489.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1987, allocations: 33.7 kB / 489.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.1989, allocations: 280.2 kB / 489.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.298e-05/0.1989, allocations: 63.09 kB / 489.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.429e-05/0.199, allocations: 45.62 kB / 489.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1992, allocations: 309.9 kB / 490 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.1994, allocations: 95.92 kB / 490.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.1997, allocations: 105.6 kB / 490.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/0.2002, allocations: 214.4 kB / 490.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2002, allocations: 0 / 490.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006671/0.2009, allocations: 296.8 kB / 490.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.2009, allocations: 8 kB / 490.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2009, allocations: 3.984 kB / 490.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.201, allocations: 4 kB / 490.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.2013, allocations: 55.89 kB / 490.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2013, allocations: 4 kB / 490.8 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.2015, allocations: 27.89 kB / 490.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.2015, allocations: 7.984 kB / 490.8 MB, free: 9.945 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.0002629/0.2018, allocations: 217.7 kB / 491 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.2019, allocations: 63.47 kB / 491.1 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008192/0.2028, allocations: 350.5 kB / 491.4 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.2028, allocations: 4.312 kB / 491.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2028, allocations: 8 kB / 491.4 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2028, allocations: 3.984 kB / 491.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.2042, allocations: 0.9033 MB / 492.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2042, allocations: 0 / 492.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.2044, allocations: 55.95 kB / 492.4 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2044, allocations: 3.984 kB / 492.4 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.2045, allocations: 4 kB / 492.4 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2045, allocations: 3.938 kB / 492.4 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2045, allocations: 3.938 kB / 492.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/0.2052, allocations: 480.8 kB / 492.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.2054, allocations: 156.3 kB / 493 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.2055, allocations: 3.984 kB / 493 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.2057, allocations: 31.92 kB / 493.1 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.2058, allocations: 19.97 kB / 493.1 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.2058, allocations: 11.98 kB / 493.1 MB, free: 7.539 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007374/0.2066, allocations: 0.6708 MB / 493.8 MB, free: 6.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2066, allocations: 0 / 493.8 MB, free: 6.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.207, allocations: 63.98 kB / 493.8 MB, free: 6.809 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.00194/0.2089, allocations: 1.308 MB / 495.1 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006152/0.2095, allocations: 227.7 kB / 495.4 MB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2096, allocations: 0 / 495.4 MB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.2099, allocations: 123.9 kB / 495.5 MB, free: 5.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.2105, allocations: 70.95 kB / 495.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007181/0.2177, allocations: 5.596 MB / 0.4894 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.2182, allocations: 0.8772 MB / 0.4903 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002367/0.2184, allocations: 87.22 kB / 0.4903 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.2187, allocations: 196 kB / 0.4905 GB, free: 14.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2187, allocations: 0 / 0.4905 GB, free: 14.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.2428, allocations: 9.858 MB / 0.5002 GB, free: 4.559 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.243, allocations: 227.7 kB / 0.5004 GB, free: 4.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/2.354, allocations: 64 / 0.5004 GB, free: 4.309 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches