Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001183, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 46.11 MB / 343.6 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 70.69 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1773, allocations: 62.43 MB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.005349/0.1827, allocations: 1.665 MB / 481 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1844, allocations: 0.5261 MB / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.1844, allocations: 0 / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.1848, allocations: 27.86 kB / 481.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.1852, allocations: 63.75 kB / 481.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.1855, allocations: 83.47 kB / 481.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.1858, allocations: 55.91 kB / 481.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1859, allocations: 11.92 kB / 481.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.186, allocations: 23.88 kB / 481.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.423e-05/0.1861, allocations: 23.84 kB / 481.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1861, allocations: 8 kB / 481.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1862, allocations: 27.98 kB / 481.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.1863, allocations: 19.92 kB / 481.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.1864, allocations: 19.81 kB / 481.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.1866, allocations: 80.06 kB / 482 MB, free: 2.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1866, allocations: 0 / 482 MB, free: 2.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1867, allocations: 0 / 482 MB, free: 2.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1867, allocations: 0 / 482 MB, free: 2.969 MB / 350.1 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.0007015/0.1874, allocations: 387.1 kB / 482.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.403e-05/0.1875, allocations: 16.88 kB / 482.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.262e-05/0.1875, allocations: 34.73 kB / 482.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.1876, allocations: 12.83 kB / 482.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.1879, allocations: 184.2 kB / 482.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1879, allocations: 4.312 kB / 482.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.1879, allocations: 4.375 kB / 482.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.1882, allocations: 53.61 kB / 482.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1883, allocations: 4 kB / 482.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1883, allocations: 0 / 482.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.1883, allocations: 0 / 482.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.1884, allocations: 27.92 kB / 482.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006345/0.1891, allocations: 280.8 kB / 483 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.1894, allocations: 38.66 kB / 483 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.951e-05/0.1895, allocations: 24.78 kB / 483 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1895, allocations: 4 kB / 483.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.1896, allocations: 30.56 kB / 483.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.1896, allocations: 0 / 483.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008879/0.1905, allocations: 145.2 kB / 483.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.1906, allocations: 55.41 kB / 483.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.1908, allocations: 172.8 kB / 483.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1908, allocations: 25.7 kB / 483.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.1909, allocations: 92.14 kB / 483.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.191, allocations: 23.73 kB / 483.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.1911, allocations: 13.72 kB / 483.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1913, allocations: 318.8 kB / 483.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1914, allocations: 19.98 kB / 483.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.599e-05/0.1915, allocations: 23.92 kB / 484 MB, free: 0.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.1917, allocations: 45.02 kB / 484 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1917, allocations: 8 kB / 484 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002813/0.192, allocations: 81.52 kB / 484.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.192, allocations: 8 kB / 484.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1921, allocations: 0 / 484.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.1921, allocations: 0 / 484.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.1922, allocations: 11.98 kB / 484.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1922, allocations: 7.938 kB / 484.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.1923, allocations: 4 kB / 484.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1923, allocations: 4 kB / 484.1 MB, free: 0.6172 MB / 350.1 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.0001581/0.1925, allocations: 117.8 kB / 484.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.1925, allocations: 7.906 kB / 484.2 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.1929, allocations: 97.84 kB / 484.3 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1929, allocations: 4 kB / 484.3 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.1929, allocations: 3.938 kB / 484.3 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.193, allocations: 0 / 484.3 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/0.1937, allocations: 346.6 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1937, allocations: 0 / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.951e-05/0.1938, allocations: 11.98 kB / 484.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/0.1938, allocations: 7.875 kB / 484.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1938, allocations: 4 kB / 484.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1938, allocations: 4 kB / 484.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1939, allocations: 0 / 484.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.1943, allocations: 175.6 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.1944, allocations: 85.38 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.1944, allocations: 7.938 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.1946, allocations: 0 / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.1946, allocations: 19.97 kB / 485 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1947, allocations: 0 / 485 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.1948, allocations: 130.8 kB / 485.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1948, allocations: 0 / 485.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004177/0.1953, allocations: 15.91 kB / 485.1 MB, free: 15.5 MB / 366.1 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.002385/0.1977, allocations: 1.002 MB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003009/0.198, allocations: 55.89 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.198, allocations: 0 / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.1981, allocations: 27.92 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006093/0.1988, allocations: 19.98 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.2017, allocations: 1.466 MB / 487.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.2021, allocations: 0.6887 MB / 488.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.548e-05/0.2022, allocations: 19.92 kB / 488.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.339e-05/0.2023, allocations: 27.42 kB / 488.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2023, allocations: 0 / 488.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.2206, allocations: 2.358 MB / 490.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000331/0.221, allocations: 234.4 kB / 491 MB, free: 9.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.128, allocations: 7.938 kB / 491 MB, free: 9.656 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches