Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001658/0.001658, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002006/0.002006, allocations: 209.7 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.318/2.318, allocations: 227.4 MB / 246.9 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5048/0.5048, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001532, allocations: 81.11 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2186, allocations: 62.44 MB / 479.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.006415/0.2251, allocations: 1.736 MB / 481.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.2271, allocations: 0.5806 MB / 482.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.2273, allocations: 3.938 kB / 482.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.2279, allocations: 75.84 kB / 482.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000627/0.2286, allocations: 87.72 kB / 482.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009079/0.2296, allocations: 159.3 kB / 482.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.2299, allocations: 91.77 kB / 482.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.2302, allocations: 16.22 kB / 482.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.2303, allocations: 39.83 kB / 482.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.2306, allocations: 43.84 kB / 482.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.2306, allocations: 4 kB / 482.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.2309, allocations: 59.95 kB / 482.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.231, allocations: 31.8 kB / 482.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.972e-05/0.2311, allocations: 31.75 kB / 482.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.2315, allocations: 83.88 kB / 483 MB, free: 2.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.2316, allocations: 0 / 483 MB, free: 2.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.699e-06/0.2316, allocations: 0 / 483 MB, free: 2.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.2316, allocations: 0 / 483 MB, free: 2.668 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.001197/0.2328, allocations: 435.1 kB / 483.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.329e-05/0.2329, allocations: 8.031 kB / 483.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.233, allocations: 16.84 kB / 483.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.2335, allocations: 208 kB / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.2335, allocations: 384 / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.2336, allocations: 4.375 kB / 483.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.2339, allocations: 73.73 kB / 483.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.2339, allocations: 3.984 kB / 483.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.234, allocations: 0 / 483.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.234, allocations: 0 / 483.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.2342, allocations: 43.97 kB / 483.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009302/0.2352, allocations: 328.6 kB / 484.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.2356, allocations: 54.56 kB / 484.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.2358, allocations: 36.95 kB / 484.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.454e-05/0.2359, allocations: 0 / 484.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.2359, allocations: 38.53 kB / 484.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.724e-06/0.2359, allocations: 0 / 484.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002365/0.2383, allocations: 429.1 kB / 484.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.373e-05/0.2384, allocations: 59.34 kB / 484.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.2388, allocations: 208.1 kB / 484.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.2389, allocations: 33.64 kB / 484.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.239, allocations: 108.1 kB / 485 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/0.2391, allocations: 35.45 kB / 485 MB, free: 400 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.884e-05/0.2392, allocations: 21.72 kB / 485.1 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.2394, allocations: 330.8 kB / 485.4 MB, free: 32 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.2396, allocations: 52.02 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.2399, allocations: 51.91 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.2403, allocations: 133 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2403, allocations: 0 / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005055/0.2408, allocations: 173.4 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.2409, allocations: 4 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.2409, allocations: 0 / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/0.2409, allocations: 4 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.2411, allocations: 27.92 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.2411, allocations: 0 / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.2412, allocations: 11.98 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.2413, allocations: 8 kB / 485.8 MB, free: 15.57 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.0002052/0.2415, allocations: 133.8 kB / 486 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.865e-05/0.2416, allocations: 19.8 kB / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007002/0.2423, allocations: 190.9 kB / 486.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.2423, allocations: 7.875 kB / 486.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.2423, allocations: 8 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2424, allocations: 0 / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.2434, allocations: 0.5039 MB / 486.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2435, allocations: 0 / 486.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2436, allocations: 31.98 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2436, allocations: 0 / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.2437, allocations: 4 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.2437, allocations: 0 / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.2437, allocations: 3.984 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.2443, allocations: 273 kB / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.2444, allocations: 89 kB / 487.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.2444, allocations: 8.188 kB / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.2446, allocations: 11.98 kB / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.2447, allocations: 11.88 kB / 487.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.2447, allocations: 7.984 kB / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.2449, allocations: 167.5 kB / 487.3 MB, free: 14 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2449, allocations: 4 kB / 487.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000414/0.2453, allocations: 28 kB / 487.3 MB, free: 13.96 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.001558/0.2469, allocations: 448.7 kB / 487.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004759/0.2474, allocations: 127.8 kB / 487.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.2474, allocations: 3.938 kB / 487.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.2476, allocations: 71.89 kB / 488 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/0.2482, allocations: 31.2 kB / 488 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009653/0.2492, allocations: 383.8 kB / 488.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.2496, allocations: 0.7199 MB / 489.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.2497, allocations: 15.44 kB / 489.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2497, allocations: 0 / 489.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of Templates: time 0.006155/0.2558, allocations: 2.109 MB / 491.2 MB, free: 10.18 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches