Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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.0007977/0.0007977, 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.0008347/0.0008347, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8811/0.8811, allocations: 177 MB / 204.1 MB, free: 5.738 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.2548/0.2548, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.43e-05, allocations: 2.281 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.1846/0.1846, allocations: 1.649 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1859, allocations: 1.251 MB / 445.1 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.186, allocations: 2.969 kB / 445.1 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.1862, allocations: 21.52 kB / 445.1 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.1865, allocations: 88.92 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.1867, allocations: 127.2 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.1868, allocations: 75.67 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1869, allocations: 14.39 kB / 445.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.187, allocations: 47.44 kB / 445.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.677e-05/0.1871, allocations: 27.77 kB / 445.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1871, allocations: 9.594 kB / 445.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1872, allocations: 95.41 kB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.1873, allocations: 16.22 kB / 445.6 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.1873, allocations: 20.08 kB / 445.6 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1875, allocations: 157.5 kB / 445.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1875, allocations: 0 / 445.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1875, allocations: 3.938 kB / 445.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1875, allocations: 0 / 445.8 MB, free: 42.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004117/0.1879, allocations: 349.5 kB / 446.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1879, allocations: 10.28 kB / 446.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.619e-05/0.188, allocations: 38.17 kB / 446.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.188, allocations: 10.7 kB / 446.2 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1881, allocations: 131.7 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.1881, allocations: 0.875 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1882, allocations: 3.156 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1883, allocations: 105.8 kB / 446.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1883, allocations: 3.062 kB / 446.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.1883, allocations: 384 / 446.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1883, allocations: 4.125 kB / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.1884, allocations: 37.84 kB / 446.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.1886, allocations: 261.9 kB / 446.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.138e-05/0.1887, allocations: 40.41 kB / 446.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.1888, allocations: 30.47 kB / 446.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.1888, allocations: 2.875 kB / 446.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.1888, allocations: 30.56 kB / 446.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1888, allocations: 0 / 446.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004723/0.1893, allocations: 222.4 kB / 447 MB, free: 41.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.1893, allocations: 77.11 kB / 447.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/0.1894, allocations: 149.7 kB / 447.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.1894, allocations: 29.7 kB / 447.3 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.1894, allocations: 93.98 kB / 447.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.1894, allocations: 22.33 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.1895, allocations: 28.73 kB / 447.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.818e-05/0.1895, allocations: 320.9 kB / 447.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.445e-05/0.1895, allocations: 29.95 kB / 447.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.33e-05/0.1896, allocations: 81.95 kB / 447.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.1897, allocations: 73.11 kB / 447.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1897, allocations: 3.938 kB / 447.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001343/0.1898, allocations: 125.1 kB / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1899, allocations: 5.719 kB / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1899, allocations: 0 / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1899, allocations: 0.8438 kB / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.19, allocations: 20.67 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.19, allocations: 0 / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.19, allocations: 13.14 kB / 448.1 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.19, allocations: 6.188 kB / 448.1 MB, free: 40.99 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 (7): * Single equations (assignments): 7 * 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 5.171e-05/0.1901, allocations: 119.3 kB / 448.2 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.1901, allocations: 10.77 kB / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.1903, allocations: 118.5 kB / 448.3 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1903, allocations: 5.875 kB / 448.3 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1903, allocations: 1.688 kB / 448.3 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1903, allocations: 0 / 448.3 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.1905, allocations: 367.9 kB / 448.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1905, allocations: 0 / 448.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.1906, allocations: 19.3 kB / 448.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1906, allocations: 0 / 448.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.1906, allocations: 4 kB / 448.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1906, allocations: 5.219 kB / 448.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1906, allocations: 0 / 448.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.1907, allocations: 215.9 kB / 448.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.1908, allocations: 10.06 kB / 448.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1908, allocations: 0 / 448.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.959e-05/0.1908, allocations: 13.05 kB / 449 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.1909, allocations: 6.938 kB / 449 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1909, allocations: 6.266 kB / 449 MB, free: 40.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.583e-05/0.1909, allocations: 121 kB / 449.1 MB, free: 40.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1909, allocations: 4 kB / 449.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000195/0.1911, allocations: 47.38 kB / 449.1 MB, free: 40.22 MB / 410.7 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 (7): * Single equations (assignments): 7 * 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.0009747/0.1921, allocations: 1.162 MB / 450.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1922, allocations: 85.62 kB / 450.4 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1923, allocations: 0 / 450.4 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.421e-05/0.1923, allocations: 46.67 kB / 450.4 MB, free: 39.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.1926, allocations: 28.78 kB / 450.5 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.1936, allocations: 1.601 MB / 452.1 MB, free: 38.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.299e-05/0.1937, allocations: 83.73 kB / 452.1 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.1937, allocations: 12.2 kB / 452.1 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.1938, allocations: 35.8 kB / 452.2 MB, free: 37.99 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1938, allocations: 0 / 452.2 MB, free: 37.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.2118, allocations: 4.28 MB / 456.5 MB, free: 36.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.906, allocations: 6.781 kB / 456.5 MB, free: 36.5 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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.879628923721611]