Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.0008127/0.0008127, allocations: 84.34 kB / 21.43 MB, free: 3.121 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.003341/0.003341, allocations: 156.1 kB / 24.7 MB, free: 9.418 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.8961/0.8961, allocations: 177 MB / 204.9 MB, free: 5.715 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.2683/0.2683, allocations: 34.24 MB / 295.6 MB, free: 0.6523 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 443.4 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.304e-05/4.523e-05, allocations: 2.281 kB / 443.4 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.1786/0.1787, allocations: 1.66 MB / 445.1 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007096/0.1794, allocations: 0.5699 MB / 445.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.1794, allocations: 2.75 kB / 445.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1798, allocations: 462.6 kB / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.1801, allocations: 298 kB / 446.4 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1803, allocations: 178 kB / 446.6 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.1804, allocations: 189.4 kB / 446.8 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.1805, allocations: 12.77 kB / 446.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.579e-05/0.1806, allocations: 129.5 kB / 446.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1807, allocations: 244.7 kB / 447.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1808, allocations: 2.781 kB / 447.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.978e-05/0.1808, allocations: 61.06 kB / 447.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.1809, allocations: 85.12 kB / 447.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.1809, allocations: 39.7 kB / 447.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1811, allocations: 263.2 kB / 447.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1811, allocations: 0 / 447.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1811, allocations: 0 / 447.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1811, allocations: 0 / 447.6 MB, free: 43.06 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.000408/0.1815, allocations: 0.5887 MB / 448.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1816, allocations: 8.656 kB / 448.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.1816, allocations: 52.45 kB / 448.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1817, allocations: 248.9 kB / 448.5 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1817, allocations: 7.469 kB / 448.5 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.1818, allocations: 9.219 kB / 448.5 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.1819, allocations: 64.25 kB / 448.6 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1819, allocations: 192 / 448.6 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1819, allocations: 7.125 kB / 448.6 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1819, allocations: 384 / 448.6 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.66e-05/0.182, allocations: 47.38 kB / 448.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.1823, allocations: 353 kB / 449 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.1824, allocations: 62.61 kB / 449 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.1825, allocations: 31.34 kB / 449.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.1825, allocations: 0 / 449.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.155e-05/0.1825, allocations: 40.97 kB / 449.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.1825, allocations: 0 / 449.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007699/0.1833, allocations: 0.4942 MB / 449.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.1833, allocations: 51.41 kB / 449.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.1837, allocations: 0.8594 MB / 450.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.1837, allocations: 29.7 kB / 450.5 MB, free: 41.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.1838, allocations: 223.4 kB / 450.8 MB, free: 41.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.1838, allocations: 37.72 kB / 450.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.1838, allocations: 25.52 kB / 450.8 MB, free: 41.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.1839, allocations: 365.1 kB / 451.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.1839, allocations: 61.97 kB / 451.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.138e-05/0.184, allocations: 55.3 kB / 451.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.1841, allocations: 132.9 kB / 451.4 MB, free: 40.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1841, allocations: 0 / 451.4 MB, free: 40.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001802/0.1843, allocations: 200.7 kB / 451.6 MB, free: 40.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.1843, allocations: 5.5 kB / 451.6 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1843, allocations: 3.938 kB / 451.6 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1844, allocations: 0 / 451.6 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.1844, allocations: 33.14 kB / 451.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1844, allocations: 0 / 451.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.1845, allocations: 9.094 kB / 451.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1845, allocations: 2.906 kB / 451.7 MB, free: 40.58 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 0.0001073/0.1846, allocations: 233.7 kB / 451.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.1846, allocations: 41.12 kB / 451.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.1848, allocations: 226.4 kB / 452.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1848, allocations: 3.031 kB / 452.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1849, allocations: 0 / 452.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1849, allocations: 0 / 452.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.1852, allocations: 0.533 MB / 452.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1853, allocations: 2.844 kB / 452.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.1853, allocations: 34.67 kB / 452.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1853, allocations: 0 / 452.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1853, allocations: 2.75 kB / 452.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1853, allocations: 0 / 452.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1853, allocations: 5.594 kB / 452.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.1855, allocations: 307 kB / 453 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.1855, allocations: 42.39 kB / 453.1 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1855, allocations: 0 / 453.1 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.1856, allocations: 15.25 kB / 453.1 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.1856, allocations: 14.25 kB / 453.1 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.1856, allocations: 2.938 kB / 453.1 MB, free: 39.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003148/0.1859, allocations: 0.6557 MB / 453.8 MB, free: 39.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.186, allocations: 4 kB / 453.8 MB, free: 39.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.1861, allocations: 37.86 kB / 453.8 MB, free: 39.46 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.0006805/0.1868, allocations: 482.6 kB / 454.3 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.187, allocations: 130.4 kB / 454.4 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.187, allocations: 0 / 454.4 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.613e-05/0.1871, allocations: 63.94 kB / 454.5 MB, free: 39.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.1873, allocations: 29.05 kB / 454.5 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/0.188, allocations: 0.9258 MB / 455.4 MB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.1881, allocations: 231.4 kB / 455.6 MB, free: 38.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.1882, allocations: 20.33 kB / 455.7 MB, free: 38.68 MB / 410.7 MB Notification: Performance of SimCode: time 4.6e-07/0.1882, allocations: 3.938 kB / 455.7 MB, free: 38.68 MB / 410.7 MB Notification: Performance of Templates: time 0.003554/0.1917, allocations: 4.416 MB / 460.1 MB, free: 37.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.668924655765295]