Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.000822/0.000822, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003874/0.003874, allocations: 160.2 kB / 24.7 MB, free: 9.441 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.85/0.85, allocations: 177 MB / 204.9 MB, free: 5.711 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.2403/0.2403, allocations: 34.24 MB / 295.6 MB, free: 0.6641 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: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 443.4 MB, free: 1.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.889e-05, allocations: 6.281 kB / 443.4 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.186/0.1861, allocations: 1.581 MB / 445 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007019/0.1868, allocations: 0.5291 MB / 445.6 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.1868, allocations: 3.031 kB / 445.6 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.187, allocations: 25.97 kB / 445.6 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.1873, allocations: 73.73 kB / 445.7 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.1875, allocations: 118.2 kB / 445.8 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.1876, allocations: 66.48 kB / 445.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1877, allocations: 17.59 kB / 445.9 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.32e-05/0.1878, allocations: 34.19 kB / 445.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.1878, allocations: 16.97 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1878, allocations: 3.375 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.399e-05/0.1879, allocations: 28.78 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.1879, allocations: 16.42 kB / 445.9 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.188, allocations: 10.66 kB / 446 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.1881, allocations: 82.42 kB / 446 MB, free: 43.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1881, allocations: 2.344 kB / 446 MB, free: 43.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1881, allocations: 3.438 kB / 446 MB, free: 43.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1881, allocations: 0 / 446 MB, free: 43.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003497/0.1885, allocations: 306.4 kB / 446.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1885, allocations: 8.188 kB / 446.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.1885, allocations: 14.17 kB / 446.4 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.1887, allocations: 134.7 kB / 446.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-06/0.1887, allocations: 384 / 446.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.1887, allocations: 6.906 kB / 446.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.1888, allocations: 51.98 kB / 446.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1888, allocations: 192 / 446.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1888, allocations: 2 kB / 446.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1888, allocations: 384 / 446.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.331e-05/0.1889, allocations: 29.27 kB / 446.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.1891, allocations: 235.2 kB / 446.8 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.1893, allocations: 44.48 kB / 446.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.1893, allocations: 13.92 kB / 446.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1893, allocations: 9.844 kB / 446.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.101e-05/0.1893, allocations: 30.56 kB / 446.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.1893, allocations: 0 / 446.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003813/0.1897, allocations: 161.5 kB / 447.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.1897, allocations: 54.16 kB / 447.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.212e-05/0.1898, allocations: 152.9 kB / 447.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.433e-06/0.1898, allocations: 25.7 kB / 447.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.1898, allocations: 94.16 kB / 447.4 MB, free: 42.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.1899, allocations: 18.45 kB / 447.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.1899, allocations: 19.03 kB / 447.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.817e-05/0.1899, allocations: 320.8 kB / 447.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-05/0.19, allocations: 21.39 kB / 447.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/0.19, allocations: 28.25 kB / 447.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.434e-05/0.1901, allocations: 53.22 kB / 447.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1901, allocations: 2.688 kB / 447.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.946e-05/0.1902, allocations: 87.88 kB / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1902, allocations: 6.906 kB / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1902, allocations: 3.094 kB / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1902, allocations: 0 / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.048e-05/0.1902, allocations: 15.2 kB / 448 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1902, allocations: 2.781 kB / 448 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.1902, allocations: 9.859 kB / 448 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1903, allocations: 3.938 kB / 448 MB, free: 41.81 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 (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 4.154e-05/0.1903, allocations: 115.2 kB / 448.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.1903, allocations: 16.34 kB / 448.1 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.1905, allocations: 97.34 kB / 448.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1905, allocations: 0 / 448.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1905, allocations: 0 / 448.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1905, allocations: 4 kB / 448.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.1907, allocations: 302.4 kB / 448.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1907, allocations: 3.25 kB / 448.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.1907, allocations: 14.27 kB / 448.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1907, allocations: 0 / 448.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1907, allocations: 0 / 448.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1907, allocations: 3.938 kB / 448.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1907, allocations: 2.438 kB / 448.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.698e-05/0.1908, allocations: 192.6 kB / 448.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.1908, allocations: 3.953 kB / 448.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.1908, allocations: 2.781 kB / 448.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.283e-05/0.1909, allocations: 6.094 kB / 448.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.1909, allocations: 4 kB / 448.7 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1909, allocations: 3.031 kB / 448.7 MB, free: 41.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.94e-05/0.1909, allocations: 116.7 kB / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1909, allocations: 0 / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.1911, allocations: 12.75 kB / 448.8 MB, free: 41.12 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 (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.0006598/0.1918, allocations: 429.1 kB / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.1919, allocations: 52.7 kB / 449.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1919, allocations: 0 / 449.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.346e-05/0.1919, allocations: 28.94 kB / 449.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.1922, allocations: 26.14 kB / 449.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.1925, allocations: 207.1 kB / 449.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.1926, allocations: 79.03 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.1926, allocations: 15.38 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.021e-06/0.1926, allocations: 0 / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of Templates: time 0.002324/0.1949, allocations: 1.503 MB / 451.2 MB, free: 40.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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: 4.712597887031734]