Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001858/0.001858, allocations: 82.67 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.002126/0.002126, allocations: 162.8 kB / 23.95 MB, free: 4.148 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.501/1.501, 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.2277/0.2277, allocations: 34.28 MB / 295 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.317e-05, allocations: 2.281 kB / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003136/0.003169, allocations: 1.669 MB / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.004337, allocations: 0.5647 MB / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.004405, allocations: 4 kB / 444.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.005075, allocations: 455.1 kB / 445.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005593/0.005635, allocations: 291.2 kB / 445.7 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.006264, allocations: 186.2 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.006619, allocations: 179.6 kB / 446 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.006761, allocations: 15.98 kB / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.00694, allocations: 127.6 kB / 446.2 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000354/0.007294, allocations: 243.6 kB / 446.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.007326, allocations: 4 kB / 446.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.007448, allocations: 39.91 kB / 446.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.007584, allocations: 87.64 kB / 446.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.671e-05/0.00765, allocations: 35.75 kB / 446.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.008023, allocations: 243.1 kB / 446.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.008026, allocations: 0 / 446.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.008027, allocations: 0 / 446.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.008035, allocations: 3.938 kB / 446.8 MB, free: 1.289 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.000897/0.008932, allocations: 0.5892 MB / 447.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.008977, allocations: 16.02 kB / 447.4 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.262e-05/0.009049, allocations: 40.66 kB / 447.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.009453, allocations: 238 kB / 447.7 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.009466, allocations: 4.375 kB / 447.7 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.009491, allocations: 8.359 kB / 447.7 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.009689, allocations: 62.22 kB / 447.7 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.009709, allocations: 8.141 kB / 447.8 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.009721, allocations: 4.125 kB / 447.8 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.009729, allocations: 4 kB / 447.8 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.009889, allocations: 43.89 kB / 447.8 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2234/0.2332, allocations: 335.6 kB / 448.1 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.2335, allocations: 44.11 kB / 448.2 MB, free: 19.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.2336, allocations: 28.08 kB / 448.2 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.2337, allocations: 2.344 kB / 448.2 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.2337, allocations: 35.81 kB / 448.2 MB, free: 19.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.304e-06/0.2337, allocations: 0 / 448.2 MB, free: 19.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0015/0.2352, allocations: 324.6 kB / 448.6 MB, free: 19.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.2352, allocations: 54.88 kB / 448.6 MB, free: 19.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.2366, allocations: 0.864 MB / 449.5 MB, free: 18.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.2366, allocations: 25.7 kB / 449.5 MB, free: 18.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.2368, allocations: 213.5 kB / 449.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.2368, allocations: 26.36 kB / 449.7 MB, free: 18.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.865e-05/0.2369, allocations: 21.09 kB / 449.8 MB, free: 18.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.237, allocations: 360.7 kB / 450.1 MB, free: 18.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.2373, allocations: 41.81 kB / 450.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.2375, allocations: 39.42 kB / 450.2 MB, free: 18.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.2379, allocations: 84.42 kB / 450.3 MB, free: 18.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2379, allocations: 0 / 450.3 MB, free: 18.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005789/0.2385, allocations: 170.6 kB / 450.4 MB, free: 18.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.2385, allocations: 7.547 kB / 450.4 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2386, allocations: 0 / 450.4 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.2386, allocations: 7.672 kB / 450.4 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.2388, allocations: 19 kB / 450.5 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.2388, allocations: 5.438 kB / 450.5 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.239, allocations: 8.891 kB / 450.5 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.239, allocations: 1.344 kB / 450.5 MB, free: 18.23 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.0002768/0.2393, allocations: 214.5 kB / 450.7 MB, free: 18.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.058e-05/0.2393, allocations: 44.25 kB / 450.7 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006763/0.24, allocations: 188.7 kB / 450.9 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.24, allocations: 5.25 kB / 450.9 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.24, allocations: 0 / 450.9 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.24, allocations: 2.031 kB / 450.9 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.2411, allocations: 456.3 kB / 451.4 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2411, allocations: 0.6094 kB / 451.4 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.2413, allocations: 32.38 kB / 451.4 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.2413, allocations: 4.594 kB / 451.4 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.2413, allocations: 1.375 kB / 451.4 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2413, allocations: 0.5156 kB / 451.4 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2413, allocations: 2.375 kB / 451.4 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000597/0.2419, allocations: 262 kB / 451.7 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.2419, allocations: 41.42 kB / 451.7 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.242, allocations: 2.406 kB / 451.7 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.2422, allocations: 8.266 kB / 451.7 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.2422, allocations: 9.641 kB / 451.7 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.2423, allocations: 3.406 kB / 451.7 MB, free: 17.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.2433, allocations: 0.6517 MB / 452.4 MB, free: 17.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2433, allocations: 0 / 452.4 MB, free: 17.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.2438, allocations: 28.55 kB / 452.4 MB, free: 17.24 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.002505/0.2463, allocations: 434.9 kB / 452.8 MB, free: 17.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005368/0.2468, allocations: 85.34 kB / 452.9 MB, free: 17.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2468, allocations: 4 kB / 452.9 MB, free: 17.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.2471, allocations: 49.25 kB / 453 MB, free: 17.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000576/0.2476, allocations: 24.62 kB / 453 MB, free: 17.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.2495, allocations: 0.8407 MB / 453.8 MB, free: 16.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.2499, allocations: 223.5 kB / 454.1 MB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.25, allocations: 23.22 kB / 454.1 MB, free: 16.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.2501, allocations: 15.67 kB / 454.1 MB, free: 16.57 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2501, allocations: 0 / 454.1 MB, free: 16.57 MB / 366.1 MB Notification: Performance of Templates: time 0.009625/0.2597, allocations: 1.496 MB / 455.6 MB, free: 16.34 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.982990894466639]