Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001398/0.001398, allocations: 81.02 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.001408/0.001408, allocations: 163.7 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.491/1.491, allocations: 177.2 MB / 204.3 MB, free: 9.18 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.2121/0.2121, allocations: 34.28 MB / 295 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.CombiTable2Dv.Test28,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_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.153e-05, allocations: 6.281 kB / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003303/0.003334, allocations: 1.681 MB / 444.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.004638, allocations: 0.553 MB / 444.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.221e-05/0.00471, allocations: 7.938 kB / 444.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.004994, allocations: 63.78 kB / 445 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.005348, allocations: 99.52 kB / 445.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.005844, allocations: 178.4 kB / 445.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.006033, allocations: 99.67 kB / 445.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.006151, allocations: 16.22 kB / 445.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.12e-05/0.006242, allocations: 47.89 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.006351, allocations: 43.89 kB / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.006372, allocations: 4 kB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.006506, allocations: 55.89 kB / 445.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.418e-05/0.006581, allocations: 23.92 kB / 445.6 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.00662, allocations: 19.86 kB / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.006845, allocations: 119.5 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.006848, allocations: 0 / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006848, allocations: 4 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.006857, allocations: 7.938 kB / 445.7 MB, free: 2.352 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.0005592/0.007416, allocations: 341.6 kB / 446 MB, free: 1.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.007453, allocations: 8.031 kB / 446.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.007497, allocations: 12.84 kB / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.007704, allocations: 138.9 kB / 446.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.007714, allocations: 8.375 kB / 446.2 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.007742, allocations: 8.359 kB / 446.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.007937, allocations: 62.17 kB / 446.3 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.007957, allocations: 4.188 kB / 446.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.007973, allocations: 12.12 kB / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.007979, allocations: 3.938 kB / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.008154, allocations: 39.95 kB / 446.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.008622, allocations: 260.4 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.008882, allocations: 58.48 kB / 446.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.008985, allocations: 24.97 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.009005, allocations: 4 kB / 446.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.009045, allocations: 38.55 kB / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.009046, allocations: 0 / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001702/0.01075, allocations: 421.5 kB / 447.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.01081, allocations: 55.41 kB / 447.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.01103, allocations: 199.3 kB / 447.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.01105, allocations: 29.7 kB / 447.4 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.01113, allocations: 108 kB / 447.5 MB, free: 416 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.01118, allocations: 39.69 kB / 447.6 MB, free: 376 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.01123, allocations: 21.72 kB / 447.6 MB, free: 348 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.01139, allocations: 326.8 kB / 447.9 MB, free: 12 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2122/0.2236, allocations: 56.14 kB / 447.9 MB, free: 19.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.2237, allocations: 54.47 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.2241, allocations: 127.2 kB / 448.1 MB, free: 19.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2241, allocations: 0 / 448.1 MB, free: 19.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003931/0.2245, allocations: 169.9 kB / 448.3 MB, free: 19.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2245, allocations: 5.625 kB / 448.3 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2245, allocations: 3.375 kB / 448.3 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.2245, allocations: 5.594 kB / 448.3 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.2247, allocations: 25.31 kB / 448.3 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.2247, allocations: 1.312 kB / 448.3 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.785e-05/0.2247, allocations: 13.64 kB / 448.3 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.2248, allocations: 3.859 kB / 448.3 MB, free: 19.09 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 8.942e-05/0.2248, allocations: 131.5 kB / 448.5 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.2249, allocations: 15.59 kB / 448.5 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004406/0.2253, allocations: 195.6 kB / 448.7 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2253, allocations: 1.219 kB / 448.7 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2253, allocations: 2.078 kB / 448.7 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2253, allocations: 1.828 kB / 448.7 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006486/0.226, allocations: 448.6 kB / 449.1 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.226, allocations: 1.125 kB / 449.1 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.2261, allocations: 25.53 kB / 449.2 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2261, allocations: 1.953 kB / 449.2 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2261, allocations: 2.562 kB / 449.2 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2261, allocations: 9.672 kB / 449.2 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2261, allocations: 1.188 kB / 449.2 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.2265, allocations: 271.5 kB / 449.4 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.2265, allocations: 11.64 kB / 449.4 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.2265, allocations: 1.984 kB / 449.4 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2266, allocations: 17.11 kB / 449.5 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.2267, allocations: 8.422 kB / 449.5 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.2267, allocations: 7.578 kB / 449.5 MB, free: 18.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.2268, allocations: 150.2 kB / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2268, allocations: 0 / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.2271, allocations: 27.73 kB / 449.7 MB, free: 18.36 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.00183/0.2289, allocations: 493.8 kB / 450.1 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003674/0.2293, allocations: 123.8 kB / 450.3 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2293, allocations: 1.438 kB / 450.3 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.2294, allocations: 64.12 kB / 450.3 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.0003407/0.2298, allocations: 29.66 kB / 450.3 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.2304, allocations: 320.4 kB / 450.7 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.165e-05/0.2305, allocations: 103.4 kB / 450.8 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.864e-05/0.2306, allocations: 38.89 kB / 450.8 MB, free: 17.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.2306, allocations: 20.98 kB / 450.8 MB, free: 17.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2306, allocations: 1.312 kB / 450.8 MB, free: 17.86 MB / 366.1 MB Notification: Performance of Templates: time 0.005088/0.2357, allocations: 1.643 MB / 452.5 MB, free: 17.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.037344142794609]