Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.002033/0.002033, allocations: 84.23 kB / 20.68 MB, free: 1.023 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.00228/0.00228, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.613/1.613, allocations: 177.1 MB / 204.3 MB, free: 9.168 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.2174/0.2174, allocations: 34.29 MB / 295 MB, free: 14.55 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 442.7 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.361e-05, allocations: 6.281 kB / 442.7 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003048/0.003072, allocations: 1.68 MB / 444.4 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.004182, allocations: 0.5336 MB / 444.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.004233, allocations: 0 / 444.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.004494, allocations: 79.64 kB / 445 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.00485, allocations: 107.5 kB / 445.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.005225, allocations: 134.4 kB / 445.2 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.005422, allocations: 91.73 kB / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.005522, allocations: 20.22 kB / 445.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.005633, allocations: 47.83 kB / 445.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.005747, allocations: 51.92 kB / 445.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.005766, allocations: 7.938 kB / 445.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.005887, allocations: 47.92 kB / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.526e-05/0.005962, allocations: 31.91 kB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.005995, allocations: 15.92 kB / 445.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.006217, allocations: 115.6 kB / 445.7 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.00622, allocations: 0 / 445.7 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00622, allocations: 3.938 kB / 445.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.006224, allocations: 4 kB / 445.7 MB, free: 2.375 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.0005429/0.006767, allocations: 353.5 kB / 446 MB, free: 2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.0068, allocations: 8.031 kB / 446 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.006849, allocations: 12.84 kB / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.007051, allocations: 142.3 kB / 446.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.007064, allocations: 4.375 kB / 446.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.007091, allocations: 12.33 kB / 446.2 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.007273, allocations: 66.16 kB / 446.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.007286, allocations: 192 / 446.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.007298, allocations: 8.125 kB / 446.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.007305, allocations: 4 kB / 446.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.007454, allocations: 35.97 kB / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.007824, allocations: 240.5 kB / 446.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.008076, allocations: 54.48 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.074e-05/0.008157, allocations: 24.97 kB / 446.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.008178, allocations: 0 / 446.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.008206, allocations: 38.66 kB / 446.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.008207, allocations: 3.938 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001583/0.00979, allocations: 405.3 kB / 447 MB, free: 0.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.009836, allocations: 51.41 kB / 447.1 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.01007, allocations: 218.2 kB / 447.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.01009, allocations: 29.7 kB / 447.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.01017, allocations: 116 kB / 447.4 MB, free: 448 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.01021, allocations: 35.7 kB / 447.5 MB, free: 412 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.01026, allocations: 25.7 kB / 447.5 MB, free: 380 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.01041, allocations: 330.8 kB / 447.8 MB, free: 40 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.01055, allocations: 39.97 kB / 447.9 MB, free: 0 / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1874/0.198, allocations: 38.61 kB / 447.9 MB, free: 19.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.1983, allocations: 98.73 kB / 448 MB, free: 19.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1983, allocations: 0.7031 kB / 448 MB, free: 19.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003633/0.1986, allocations: 147.7 kB / 448.1 MB, free: 19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1987, allocations: 6.719 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1987, allocations: 0 / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.1987, allocations: 0.9375 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1988, allocations: 29.45 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1988, allocations: 2.406 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/0.1989, allocations: 13.81 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1989, allocations: 6.797 kB / 448.2 MB, free: 19 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.0001155/0.199, allocations: 132.8 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.1991, allocations: 10.61 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.1995, allocations: 162.8 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.1995, allocations: 1.219 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1995, allocations: 1.094 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1995, allocations: 4.469 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/0.2002, allocations: 411 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.2002, allocations: 1.547 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.2003, allocations: 30.05 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2003, allocations: 1.125 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2003, allocations: 7.328 kB / 449 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2003, allocations: 7.078 kB / 449 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2003, allocations: 1.031 kB / 449 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.2006, allocations: 250.4 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.2006, allocations: 14.28 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.2007, allocations: 5.391 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.2008, allocations: 14.3 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.2008, allocations: 14.42 kB / 449.3 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.2009, allocations: 4.5 kB / 449.3 MB, free: 18.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.201, allocations: 159.7 kB / 449.4 MB, free: 18.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.201, allocations: 0 / 449.4 MB, free: 18.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.2013, allocations: 25.89 kB / 449.4 MB, free: 18.35 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.001864/0.2031, allocations: 0.4938 MB / 449.9 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.2035, allocations: 102.3 kB / 450 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2035, allocations: 0 / 450 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.2036, allocations: 58.16 kB / 450.1 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.204, allocations: 22.73 kB / 450.1 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.2046, allocations: 304.3 kB / 450.4 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.343e-05/0.2047, allocations: 101.1 kB / 450.5 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.2048, allocations: 24.89 kB / 450.5 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.2048, allocations: 18.28 kB / 450.5 MB, free: 17.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2048, allocations: 0 / 450.5 MB, free: 17.86 MB / 366.1 MB Notification: Performance of Templates: time 0.00559/0.2104, allocations: 1.568 MB / 452.1 MB, free: 17.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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: 5.159093786031008]