Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001745/0.001745, allocations: 113.3 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002548/0.002548, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.476/2.476, allocations: 227.4 MB / 247.1 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4437/0.4437, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002952/0.002952, allocations: 73.28 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2218, allocations: 62.45 MB / 480.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.005822/0.2277, allocations: 1.716 MB / 481.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003276/0.2311, allocations: 1.175 MB / 483 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.886e-05/0.2312, allocations: 0 / 483 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.2316, allocations: 31.84 kB / 483.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000482/0.2322, allocations: 71.8 kB / 483.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.2329, allocations: 159.1 kB / 483.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.2332, allocations: 75.77 kB / 483.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.2333, allocations: 23.98 kB / 483.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.889e-05/0.2334, allocations: 31.84 kB / 483.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.2337, allocations: 43.78 kB / 483.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.2337, allocations: 4 kB / 483.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.234, allocations: 95.88 kB / 483.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.221e-05/0.2341, allocations: 19.97 kB / 483.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.2342, allocations: 27.81 kB / 483.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.2345, allocations: 107.8 kB / 483.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2346, allocations: 0 / 483.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2346, allocations: 0 / 483.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.2346, allocations: 3.984 kB / 483.7 MB, free: 2.031 MB / 350.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.0007725/0.2354, allocations: 419.4 kB / 484.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.2354, allocations: 8.031 kB / 484.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.2355, allocations: 8.844 kB / 484.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.2359, allocations: 198.5 kB / 484.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2359, allocations: 4.375 kB / 484.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.2359, allocations: 384 / 484.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.2362, allocations: 79.52 kB / 484.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.2363, allocations: 0 / 484.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.2363, allocations: 8 kB / 484.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2363, allocations: 0 / 484.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.2365, allocations: 35.95 kB / 484.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.2372, allocations: 316.7 kB / 484.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.2374, allocations: 46.55 kB / 484.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.2375, allocations: 24.94 kB / 484.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.2376, allocations: 8.062 kB / 484.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.2376, allocations: 34.56 kB / 484.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.2376, allocations: 0 / 484.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.00141/0.239, allocations: 241 kB / 485.1 MB, free: 468 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.2392, allocations: 81.11 kB / 485.2 MB, free: 368 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.2395, allocations: 145.8 kB / 485.3 MB, free: 212 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.2395, allocations: 29.7 kB / 485.4 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.2396, allocations: 100 kB / 485.5 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.2397, allocations: 23.64 kB / 485.5 MB, free: 48 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.2398, allocations: 21.72 kB / 485.5 MB, free: 20 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.24, allocations: 322.9 kB / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.2402, allocations: 35.84 kB / 485.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.2405, allocations: 57.69 kB / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.2409, allocations: 92.77 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2409, allocations: 0 / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005371/0.2414, allocations: 117.5 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.2415, allocations: 12.03 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2415, allocations: 3.984 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2416, allocations: 0 / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.2418, allocations: 23.92 kB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.2418, allocations: 0 / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.2419, allocations: 11.92 kB / 486.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.242, allocations: 4 kB / 486.2 MB, free: 15.33 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.000199/0.2422, allocations: 113.8 kB / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.753e-05/0.2423, allocations: 11.91 kB / 486.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006616/0.243, allocations: 138.3 kB / 486.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.243, allocations: 4 kB / 486.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.243, allocations: 0 / 486.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.243, allocations: 12.14 kB / 486.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.2442, allocations: 414.5 kB / 486.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.2442, allocations: 0 / 486.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.2444, allocations: 19.98 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.2444, allocations: 3.984 kB / 486.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.2444, allocations: 3.938 kB / 486.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.2444, allocations: 0 / 486.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2445, allocations: 480 / 486.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.2452, allocations: 231.3 kB / 487.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.2452, allocations: 89 kB / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.2453, allocations: 3.938 kB / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.2454, allocations: 15.98 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.2455, allocations: 4 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2455, allocations: 4 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.2457, allocations: 117.4 kB / 487.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2457, allocations: 0 / 487.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004784/0.2462, allocations: 43.98 kB / 487.4 MB, free: 14.02 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.001827/0.248, allocations: 499.6 kB / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006582/0.2487, allocations: 95.86 kB / 488 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.2487, allocations: 4 kB / 488 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.249, allocations: 47.95 kB / 488 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.2497, allocations: 23.67 kB / 488 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2507, allocations: 267.5 kB / 488.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.2512, allocations: 0.6981 MB / 489 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.2514, allocations: 23.42 kB / 489 MB, free: 12.49 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2514, allocations: 0 / 489 MB, free: 12.49 MB / 366.1 MB Notification: Performance of Templates: time 0.006946/0.2583, allocations: 2.166 MB / 491.2 MB, free: 10.32 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches