Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001755/0.001755, allocations: 82.23 kB / 20.68 MB, free: 1.039 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.002042/0.002042, allocations: 163.5 kB / 23.96 MB, free: 4.164 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.472/1.472, allocations: 177.1 MB / 204.3 MB, free: 9.188 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.211/0.211, allocations: 34.27 MB / 294.9 MB, free: 14.57 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.416e-05, allocations: 6.219 kB / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002921/0.002945, allocations: 1.669 MB / 444.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.004027, allocations: 0.5375 MB / 444.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.004083, allocations: 7.938 kB / 444.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.00469, allocations: 451 kB / 445.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004898/0.00518, allocations: 299.1 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.005509, allocations: 130.8 kB / 445.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.005771, allocations: 175.6 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.005871, allocations: 8 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.006021, allocations: 119.8 kB / 446.1 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.006285, allocations: 247.6 kB / 446.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.006306, allocations: 4 kB / 446.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.006397, allocations: 43.86 kB / 446.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.006502, allocations: 83.66 kB / 446.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.006558, allocations: 43.72 kB / 446.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.006864, allocations: 239.1 kB / 446.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.006866, allocations: 0 / 446.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006867, allocations: 0 / 446.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.006872, allocations: 0 / 446.7 MB, free: 1.359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007425/0.007615, allocations: 0.5854 MB / 447.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.007647, allocations: 12.03 kB / 447.3 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/0.00772, allocations: 44.66 kB / 447.3 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.008003, allocations: 250 kB / 447.6 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.008014, allocations: 384 / 447.6 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.008035, allocations: 8.375 kB / 447.6 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.008199, allocations: 58.17 kB / 447.7 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.00821, allocations: 192 / 447.7 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.008223, allocations: 8.125 kB / 447.7 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.008226, allocations: 0 / 447.7 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.008362, allocations: 35.97 kB / 447.7 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1793/0.1876, allocations: 327.8 kB / 448 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.1879, allocations: 40.66 kB / 448.1 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/0.1879, allocations: 25.19 kB / 448.1 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.188, allocations: 1.781 kB / 448.1 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.188, allocations: 31.75 kB / 448.1 MB, free: 19.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.324e-06/0.188, allocations: 0 / 448.1 MB, free: 19.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.00106/0.189, allocations: 302.1 kB / 448.4 MB, free: 19.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.1891, allocations: 56.25 kB / 448.5 MB, free: 19.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009742/0.1901, allocations: 0.8619 MB / 449.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1901, allocations: 26.8 kB / 449.4 MB, free: 18.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1902, allocations: 217 kB / 449.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1903, allocations: 19.94 kB / 449.6 MB, free: 18.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.1903, allocations: 21.31 kB / 449.6 MB, free: 18.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1904, allocations: 366.9 kB / 450 MB, free: 18.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1905, allocations: 29.03 kB / 450 MB, free: 18.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1906, allocations: 37.64 kB / 450 MB, free: 18.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.1909, allocations: 71.33 kB / 450.1 MB, free: 18.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1909, allocations: 1.188 kB / 450.1 MB, free: 18.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003073/0.1912, allocations: 153.9 kB / 450.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1912, allocations: 5.141 kB / 450.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1912, allocations: 1.125 kB / 450.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.1912, allocations: 0 / 450.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.1914, allocations: 20.17 kB / 450.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.1914, allocations: 2.797 kB / 450.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-05/0.1915, allocations: 20.52 kB / 450.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1915, allocations: 1.797 kB / 450.3 MB, free: 18.27 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 (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 0.0001846/0.1916, allocations: 212.6 kB / 450.5 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.1917, allocations: 42.58 kB / 450.6 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.1921, allocations: 172 kB / 450.7 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1921, allocations: 3.562 kB / 450.7 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1921, allocations: 2.109 kB / 450.7 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1921, allocations: 10.19 kB / 450.7 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/0.1927, allocations: 434.9 kB / 451.2 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1927, allocations: 0 / 451.2 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.1928, allocations: 23.84 kB / 451.2 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1928, allocations: 7.75 kB / 451.2 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1928, allocations: 0 / 451.2 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1928, allocations: 6.828 kB / 451.2 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1928, allocations: 0 / 451.2 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.1932, allocations: 237.5 kB / 451.4 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.1932, allocations: 38.81 kB / 451.5 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.1932, allocations: 5.375 kB / 451.5 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1933, allocations: 15.34 kB / 451.5 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1934, allocations: 11.77 kB / 451.5 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1934, allocations: 1.375 kB / 451.5 MB, free: 17.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005957/0.194, allocations: 0.6543 MB / 452.2 MB, free: 17.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.194, allocations: 0 / 452.2 MB, free: 17.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1943, allocations: 24.62 kB / 452.2 MB, free: 17.3 MB / 366.1 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.001606/0.1959, allocations: 440 kB / 452.6 MB, free: 17.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.1962, allocations: 73.77 kB / 452.7 MB, free: 17.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1962, allocations: 4 kB / 452.7 MB, free: 17.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1964, allocations: 40.92 kB / 452.7 MB, free: 17.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.1968, allocations: 27.86 kB / 452.8 MB, free: 17.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.1979, allocations: 0.8138 MB / 453.6 MB, free: 16.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1982, allocations: 219.3 kB / 453.8 MB, free: 16.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.537e-05/0.1982, allocations: 17.81 kB / 453.8 MB, free: 16.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.1983, allocations: 15.55 kB / 453.8 MB, free: 16.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1983, allocations: 0 / 453.8 MB, free: 16.64 MB / 366.1 MB Notification: Performance of Templates: time 0.00608/0.2044, allocations: 1.468 MB / 455.3 MB, free: 16.4 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.902255978435278]