Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 85.23 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002421/0.002421, allocations: 165.6 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.228/0.228, allocations: 34.28 MB / 294.9 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.256e-05, allocations: 5.234 kB / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003376/0.003408, allocations: 1.685 MB / 444.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.004621, allocations: 0.5336 MB / 444.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.004726, allocations: 0 / 444.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.005039, allocations: 75.64 kB / 445 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004345/0.005474, allocations: 103.5 kB / 445.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.005876, allocations: 139 kB / 445.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.006086, allocations: 91.8 kB / 445.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.006193, allocations: 12.17 kB / 445.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.006305, allocations: 47.88 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.00643, allocations: 51.88 kB / 445.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.006451, allocations: 4 kB / 445.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.006582, allocations: 55.84 kB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.492e-05/0.006667, allocations: 23.92 kB / 445.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.006703, allocations: 23.86 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.006949, allocations: 119.5 kB / 445.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.006953, allocations: 4 kB / 445.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006954, allocations: 0 / 445.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.006959, allocations: 0 / 445.7 MB, free: 2.41 MB / 366.1 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.000583/0.007542, allocations: 345.6 kB / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.007577, allocations: 12.03 kB / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.007629, allocations: 12.84 kB / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.007846, allocations: 150.2 kB / 446.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.007857, allocations: 384 / 446.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.007886, allocations: 12.33 kB / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.008079, allocations: 66.23 kB / 446.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.008093, allocations: 192 / 446.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.008105, allocations: 4.125 kB / 446.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.008109, allocations: 0 / 446.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.008266, allocations: 43.91 kB / 446.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.008674, allocations: 236.5 kB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.008952, allocations: 62.52 kB / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.009038, allocations: 28.97 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.009062, allocations: 0 / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.009094, allocations: 30.56 kB / 446.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.009095, allocations: 0 / 446.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.00165/0.01074, allocations: 401.4 kB / 447 MB, free: 0.918 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.01079, allocations: 51.41 kB / 447.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.01104, allocations: 214.3 kB / 447.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.01107, allocations: 29.7 kB / 447.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.01115, allocations: 116 kB / 447.4 MB, free: 496 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.01121, allocations: 39.67 kB / 447.5 MB, free: 456 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.01126, allocations: 21.72 kB / 447.5 MB, free: 428 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.01143, allocations: 330.8 kB / 447.8 MB, free: 88 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.01157, allocations: 39.91 kB / 447.9 MB, free: 48 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1792/0.1907, allocations: 48.88 kB / 447.9 MB, free: 19.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.1911, allocations: 96.22 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1911, allocations: 0 / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003718/0.1915, allocations: 147.7 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1915, allocations: 6 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1915, allocations: 3.469 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.1915, allocations: 1.438 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1917, allocations: 29.66 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1917, allocations: 0.7656 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.1918, allocations: 16.72 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1918, allocations: 3.359 kB / 448.2 MB, free: 19.04 MB / 366.1 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.0001133/0.1919, allocations: 132.9 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.1919, allocations: 11.88 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.1924, allocations: 165.8 kB / 448.5 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1924, allocations: 2.359 kB / 448.5 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1924, allocations: 0 / 448.5 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1924, allocations: 5.594 kB / 448.5 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006093/0.193, allocations: 407.9 kB / 448.9 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.193, allocations: 0 / 448.9 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.1931, allocations: 29.95 kB / 448.9 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1931, allocations: 2.219 kB / 448.9 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1931, allocations: 9.234 kB / 448.9 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1931, allocations: 5.219 kB / 449 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1931, allocations: 1.641 kB / 449 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.1935, allocations: 246.6 kB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.1935, allocations: 14.3 kB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1935, allocations: 4.406 kB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1936, allocations: 13.81 kB / 449.2 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.1936, allocations: 19.33 kB / 449.2 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1937, allocations: 3.375 kB / 449.3 MB, free: 18.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1938, allocations: 159.2 kB / 449.4 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1938, allocations: 0 / 449.4 MB, free: 18.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.194, allocations: 28.41 kB / 449.4 MB, free: 18.39 MB / 366.1 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.001844/0.1959, allocations: 499.8 kB / 449.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004348/0.1963, allocations: 102.9 kB / 450 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1963, allocations: 0 / 450 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.1965, allocations: 57.92 kB / 450.1 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1969, allocations: 19.91 kB / 450.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.1975, allocations: 304.2 kB / 450.4 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.35e-05/0.1976, allocations: 101.9 kB / 450.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.827e-05/0.1977, allocations: 21.67 kB / 450.5 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.1977, allocations: 16.56 kB / 450.5 MB, free: 17.91 MB / 366.1 MB Notification: Performance of SimCode: time 5.62e-07/0.1977, allocations: 3.938 kB / 450.5 MB, free: 17.9 MB / 366.1 MB Notification: Performance of Templates: time 0.005427/0.2032, allocations: 1.576 MB / 452.1 MB, free: 17.7 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.941176325082779]