Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001924/0.001924, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002248/0.002247, allocations: 205.8 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.55/2.55, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2788/0.2788, allocations: 46.11 MB / 344.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003205/0.003205, allocations: 72.06 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1996, allocations: 62.45 MB / 479.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.007103/0.2068, allocations: 1.736 MB / 481.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.209, allocations: 0.5845 MB / 482.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.717e-05/0.2091, allocations: 0 / 482.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.2096, allocations: 75.78 kB / 482.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000463/0.2102, allocations: 83.78 kB / 482.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007592/0.211, allocations: 163.4 kB / 482.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.2113, allocations: 91.73 kB / 482.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.2115, allocations: 24.22 kB / 482.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.727e-05/0.2116, allocations: 35.84 kB / 482.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.2118, allocations: 55.81 kB / 482.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.2118, allocations: 4 kB / 482.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.212, allocations: 51.97 kB / 482.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.2122, allocations: 19.92 kB / 482.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.684e-05/0.2123, allocations: 39.67 kB / 482.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.2126, allocations: 95.81 kB / 483 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2126, allocations: 0 / 483 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2126, allocations: 0 / 483 MB, free: 2.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.2126, allocations: 0 / 483 MB, free: 2.637 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001034/0.2137, allocations: 427.2 kB / 483.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.349e-05/0.2137, allocations: 8.031 kB / 483.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.2139, allocations: 12.84 kB / 483.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.2143, allocations: 204 kB / 483.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.2143, allocations: 384 / 483.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.2144, allocations: 12.38 kB / 483.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.2147, allocations: 73.72 kB / 483.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.2148, allocations: 0 / 483.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.2148, allocations: 0 / 483.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2148, allocations: 3.938 kB / 483.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.2151, allocations: 43.97 kB / 483.7 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000809/0.2159, allocations: 332.6 kB / 484.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.2163, allocations: 54.55 kB / 484.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.2165, allocations: 28.97 kB / 484.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.2166, allocations: 0 / 484.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.2166, allocations: 38.56 kB / 484.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.094e-06/0.2167, allocations: 3.938 kB / 484.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002975/0.2196, allocations: 429.2 kB / 484.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.2197, allocations: 55.34 kB / 484.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.2201, allocations: 212.1 kB / 484.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.2202, allocations: 29.69 kB / 484.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.2203, allocations: 108.1 kB / 485 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.2204, allocations: 35.45 kB / 485 MB, free: 380 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.764e-05/0.2205, allocations: 29.7 kB / 485.1 MB, free: 344 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.2207, allocations: 322.8 kB / 485.4 MB, free: 12 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.221, allocations: 55.95 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.2213, allocations: 59.95 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.2218, allocations: 124.8 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2218, allocations: 0 / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007446/0.2226, allocations: 169.4 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.2226, allocations: 8 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2227, allocations: 4 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.2227, allocations: 0 / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.223, allocations: 31.91 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.223, allocations: 3.938 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.2231, allocations: 11.98 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.2232, allocations: 0 / 485.8 MB, free: 15.54 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.0002131/0.2234, allocations: 137.8 kB / 486 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.2235, allocations: 19.81 kB / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008017/0.2243, allocations: 182.9 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.2244, allocations: 7.938 kB / 486.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.2244, allocations: 0 / 486.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2244, allocations: 0 / 486.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.2258, allocations: 0.5 MB / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2258, allocations: 0 / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.226, allocations: 23.98 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.748e-05/0.2261, allocations: 3.984 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.2261, allocations: 8 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.05e-05/0.2261, allocations: 8.188 kB / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.2261, allocations: 7.922 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007809/0.2269, allocations: 277 kB / 487 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.227, allocations: 92.95 kB / 487.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.2271, allocations: 4 kB / 487.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.2273, allocations: 11.98 kB / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.2274, allocations: 15.92 kB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.2274, allocations: 0 / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002538/0.2277, allocations: 163.5 kB / 487.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2277, allocations: 0 / 487.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005202/0.2283, allocations: 28 kB / 487.3 MB, free: 13.95 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.002124/0.2304, allocations: 456.2 kB / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006611/0.2311, allocations: 131.8 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.2311, allocations: 0 / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.2314, allocations: 71.89 kB / 488 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.2322, allocations: 28.73 kB / 488 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2335, allocations: 387.8 kB / 488.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.234, allocations: 0.7238 MB / 489.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.441e-05/0.2341, allocations: 15.44 kB / 489.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.2342, allocations: 0 / 489.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of Templates: time 0.008424/0.2426, allocations: 2.102 MB / 491.2 MB, free: 10.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches