Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.0007712/0.0007712, 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.0007805/0.0007805, 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.9358/0.9358, allocations: 177 MB / 204.1 MB, free: 5.77 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.2589/0.2589, 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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.23e-05, allocations: 2.281 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.1868/0.1868, allocations: 1.638 MB / 443.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007695/0.1875, allocations: 0.5379 MB / 444.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.322e-05/0.1876, allocations: 2.875 kB / 444.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.1879, allocations: 92.03 kB / 444.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.1881, allocations: 116.9 kB / 444.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.1883, allocations: 100 kB / 444.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.1885, allocations: 98.47 kB / 444.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1886, allocations: 15.22 kB / 444.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.635e-05/0.1887, allocations: 56.66 kB / 444.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.1888, allocations: 57.72 kB / 444.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1888, allocations: 5.781 kB / 444.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.962e-05/0.1889, allocations: 54 kB / 444.9 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.1889, allocations: 22.47 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.1889, allocations: 23.88 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1891, allocations: 127 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.1891, allocations: 0 / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1891, allocations: 0 / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1891, allocations: 0 / 445.1 MB, free: 43.05 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000363/0.1895, allocations: 365.9 kB / 445.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1895, allocations: 8.5 kB / 445.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.375e-05/0.1895, allocations: 37.69 kB / 445.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.1896, allocations: 14.31 kB / 445.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1897, allocations: 157.9 kB / 445.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1897, allocations: 3 kB / 445.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1897, allocations: 7.094 kB / 445.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1899, allocations: 68.98 kB / 445.8 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1899, allocations: 192 / 445.8 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1899, allocations: 384 / 445.8 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1899, allocations: 7.312 kB / 445.8 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.913e-05/0.1899, allocations: 40.06 kB / 445.8 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002936/0.1902, allocations: 292.8 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.817e-05/0.1903, allocations: 63.03 kB / 446.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.1904, allocations: 26.08 kB / 446.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1904, allocations: 3.938 kB / 446.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.1904, allocations: 36.91 kB / 446.2 MB, free: 42.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1904, allocations: 1.688 kB / 446.2 MB, free: 42.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006596/0.1911, allocations: 315.5 kB / 446.5 MB, free: 42.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.1911, allocations: 54.09 kB / 446.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.1912, allocations: 234.3 kB / 446.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.1912, allocations: 29.14 kB / 446.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.1913, allocations: 110.6 kB / 447 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1913, allocations: 49.62 kB / 447 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.1913, allocations: 32.72 kB / 447 MB, free: 41.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.54e-05/0.1914, allocations: 331.3 kB / 447.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.1914, allocations: 32.78 kB / 447.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/0.1915, allocations: 36.62 kB / 447.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.1916, allocations: 94.56 kB / 447.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1916, allocations: 0 / 447.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000143/0.1917, allocations: 138.4 kB / 447.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1917, allocations: 6.938 kB / 447.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1917, allocations: 3.141 kB / 447.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1917, allocations: 2.938 kB / 447.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.1918, allocations: 23.72 kB / 447.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1918, allocations: 3.938 kB / 447.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.401e-05/0.1919, allocations: 6.234 kB / 447.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1919, allocations: 13.19 kB / 447.7 MB, free: 41.4 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 (13): * Single equations (assignments): 13 * 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 6.546e-05/0.1919, allocations: 128.4 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.192, allocations: 13.91 kB / 447.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.1922, allocations: 164.7 kB / 448 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1922, allocations: 6.875 kB / 448 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1922, allocations: 0 / 448 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1922, allocations: 0 / 448 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.1925, allocations: 434.2 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1925, allocations: 6.094 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.1926, allocations: 31.3 kB / 448.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1926, allocations: 7.594 kB / 448.5 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1926, allocations: 2.906 kB / 448.5 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1926, allocations: 0 / 448.5 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1926, allocations: 2.75 kB / 448.5 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.1927, allocations: 249.6 kB / 448.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.1927, allocations: 14.25 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.1927, allocations: 6.812 kB / 448.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-05/0.1928, allocations: 6.844 kB / 448.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.1928, allocations: 17.25 kB / 448.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1928, allocations: 2.781 kB / 448.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.427e-05/0.1929, allocations: 188.7 kB / 449 MB, free: 40.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1929, allocations: 0 / 449 MB, free: 40.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.1931, allocations: 24.45 kB / 449 MB, free: 40.55 MB / 410.7 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 (13): * Single equations (assignments): 13 * 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.000987/0.1941, allocations: 1.148 MB / 450.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.1942, allocations: 94.47 kB / 450.2 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1942, allocations: 3.938 kB / 450.2 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.219e-05/0.1943, allocations: 54.2 kB / 450.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.1946, allocations: 17 kB / 450.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.1957, allocations: 1.856 MB / 452.2 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.862e-05/0.1958, allocations: 115.2 kB / 452.3 MB, free: 38.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.943e-05/0.1958, allocations: 23.81 kB / 452.3 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.1959, allocations: 44.47 kB / 452.3 MB, free: 38.18 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1959, allocations: 0 / 452.3 MB, free: 38.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.2143, allocations: 4.211 MB / 456.5 MB, free: 36.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.571/6.785, allocations: 14.58 kB / 456.6 MB, free: 36.78 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.840207089670002]