Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.0008221/0.0008221, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0008307/0.0008307, 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.8631/0.8631, allocations: 177 MB / 204.1 MB, free: 5.723 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.2549/0.2549, 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.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 442.2 MB, free: 1.512 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.359e-05, allocations: 2.281 kB / 442.2 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.1851/0.1851, allocations: 1.664 MB / 443.9 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007319/0.1859, allocations: 0.5668 MB / 444.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.1859, allocations: 0 / 444.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1862, allocations: 77.14 kB / 444.5 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1864, allocations: 105.3 kB / 444.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.1866, allocations: 183.4 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1867, allocations: 103 kB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.1868, allocations: 12.2 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.1869, allocations: 53.22 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.187, allocations: 58.44 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.187, allocations: 2.438 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.247e-05/0.1871, allocations: 46.98 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.1871, allocations: 32.44 kB / 445.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.1871, allocations: 20.25 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.1873, allocations: 123.6 kB / 445.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1873, allocations: 0 / 445.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1873, allocations: 1.656 kB / 445.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1873, allocations: 3.938 kB / 445.2 MB, free: 43.08 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003462/0.1876, allocations: 363.5 kB / 445.6 MB, free: 42.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1877, allocations: 12.41 kB / 445.6 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.413e-05/0.1877, allocations: 40.3 kB / 445.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.1877, allocations: 14.75 kB / 445.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1878, allocations: 141.8 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.1878, allocations: 384 / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.1879, allocations: 7.109 kB / 445.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.188, allocations: 70.53 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.188, allocations: 6.312 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.188, allocations: 384 / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.188, allocations: 4.625 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.091e-05/0.1881, allocations: 48.02 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.1884, allocations: 293.4 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1885, allocations: 54.98 kB / 446.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.1886, allocations: 29.88 kB / 446.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1886, allocations: 0 / 446.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.142e-05/0.1886, allocations: 39.91 kB / 446.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.42e-07/0.1886, allocations: 0 / 446.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007948/0.1894, allocations: 437.6 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.1894, allocations: 54.25 kB / 446.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1895, allocations: 219.6 kB / 447 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.1895, allocations: 32.45 kB / 447.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/0.1896, allocations: 108.1 kB / 447.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.1896, allocations: 40.02 kB / 447.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.1896, allocations: 19.25 kB / 447.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.346e-05/0.1896, allocations: 337.7 kB / 447.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.999e-05/0.1897, allocations: 53.27 kB / 447.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/0.1898, allocations: 53.03 kB / 447.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1899, allocations: 125 kB / 447.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1899, allocations: 0 / 447.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001673/0.1901, allocations: 181 kB / 447.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.1901, allocations: 5.812 kB / 448 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1901, allocations: 0 / 448 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1901, allocations: 0 / 448 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.883e-05/0.1902, allocations: 26.67 kB / 448 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1902, allocations: 0 / 448 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/0.1902, allocations: 11.39 kB / 448 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.1902, allocations: 6.844 kB / 448 MB, free: 41.44 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 (11): * Single equations (assignments): 11 * 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 4.972e-05/0.1903, allocations: 136.6 kB / 448.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.1903, allocations: 16.56 kB / 448.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.1905, allocations: 197.4 kB / 448.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1905, allocations: 0 / 448.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1905, allocations: 0.5625 kB / 448.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1905, allocations: 3 kB / 448.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.1909, allocations: 482.9 kB / 448.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1909, allocations: 1.75 kB / 448.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.1909, allocations: 26.05 kB / 448.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.1909, allocations: 2.844 kB / 448.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1909, allocations: 6.688 kB / 448.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1909, allocations: 3.25 kB / 448.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1909, allocations: 64 / 448.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1912, allocations: 285.8 kB / 449.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.1912, allocations: 13.52 kB / 449.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.1912, allocations: 7.172 kB / 449.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.274e-05/0.1913, allocations: 11.84 kB / 449.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.1913, allocations: 13.98 kB / 449.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1913, allocations: 5.688 kB / 449.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.747e-05/0.1914, allocations: 165 kB / 449.3 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1914, allocations: 6.938 kB / 449.4 MB, free: 40.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.1915, allocations: 29.05 kB / 449.4 MB, free: 40.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009161/0.1924, allocations: 1.172 MB / 450.6 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.1926, allocations: 126.1 kB / 450.7 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.1926, allocations: 0 / 450.7 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.1927, allocations: 74.17 kB / 450.7 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.193, allocations: 15.88 kB / 450.8 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1942, allocations: 2.001 MB / 452.8 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.531e-05/0.1942, allocations: 112.5 kB / 452.9 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.756e-05/0.1943, allocations: 34.89 kB / 452.9 MB, free: 38.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.1944, allocations: 47.91 kB / 453 MB, free: 38.12 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1944, allocations: 0 / 453 MB, free: 38.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.2094, allocations: 4.334 MB / 457.3 MB, free: 36.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/7, allocations: 6.734 kB / 457.3 MB, free: 36.73 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.942392010241747]