Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001903/0.001903, allocations: 112 kB / 17.98 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002459/0.002459, allocations: 209.8 kB / 18.92 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.687/2.687, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4381/0.4381, allocations: 46.08 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003112/0.003112, allocations: 76.19 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.257, allocations: 62.45 MB / 480.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.006299/0.2634, allocations: 1.701 MB / 481.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003621/0.2671, allocations: 1.187 MB / 483 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.2673, allocations: 0 / 483 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.2677, allocations: 23.92 kB / 483.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006126/0.2684, allocations: 71.75 kB / 483.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009452/0.2693, allocations: 163.2 kB / 483.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.2696, allocations: 79.77 kB / 483.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.2698, allocations: 15.98 kB / 483.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.27, allocations: 31.86 kB / 483.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.2703, allocations: 39.83 kB / 483.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.2703, allocations: 15.94 kB / 483.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.2707, allocations: 91.94 kB / 483.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2708, allocations: 19.92 kB / 483.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.2709, allocations: 23.88 kB / 483.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.2713, allocations: 115.8 kB / 483.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2713, allocations: 3.938 kB / 483.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.2713, allocations: 0 / 483.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.2714, allocations: 0 / 483.7 MB, free: 2.008 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.00106/0.2724, allocations: 407.4 kB / 484.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.583e-05/0.2725, allocations: 16.03 kB / 484.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.923e-05/0.2726, allocations: 12.78 kB / 484.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.2731, allocations: 184.3 kB / 484.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.2732, allocations: 12.31 kB / 484.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.2732, allocations: 384 / 484.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.2736, allocations: 83.44 kB / 484.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.2737, allocations: 3.984 kB / 484.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.2737, allocations: 0 / 484.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.2738, allocations: 8 kB / 484.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.274, allocations: 35.97 kB / 484.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.2751, allocations: 320.7 kB / 484.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.2754, allocations: 46.5 kB / 484.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.2755, allocations: 24.94 kB / 484.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.2756, allocations: 3.984 kB / 484.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.2756, allocations: 38.56 kB / 484.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/0.2757, allocations: 0 / 484.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001599/0.2773, allocations: 229.1 kB / 485.1 MB, free: 448 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.2774, allocations: 77.11 kB / 485.2 MB, free: 352 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.2777, allocations: 151.9 kB / 485.3 MB, free: 192 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.2778, allocations: 29.7 kB / 485.4 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.2779, allocations: 96.05 kB / 485.5 MB, free: 56 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.278, allocations: 27.7 kB / 485.5 MB, free: 28 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.2782, allocations: 25.8 kB / 485.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002654/0.2785, allocations: 318.8 kB / 485.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.2787, allocations: 35.97 kB / 485.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.279, allocations: 53.75 kB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005391/0.2796, allocations: 96.91 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.2796, allocations: 4 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006172/0.2802, allocations: 117.5 kB / 486.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.2803, allocations: 8 kB / 486.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2803, allocations: 0 / 486.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.2803, allocations: 0 / 486.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.2806, allocations: 23.98 kB / 486.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2806, allocations: 0 / 486.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.2808, allocations: 15.92 kB / 486.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.2808, allocations: 4 kB / 486.2 MB, free: 15.3 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.0001962/0.281, allocations: 121.7 kB / 486.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.2811, allocations: 7.906 kB / 486.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006693/0.2818, allocations: 146.2 kB / 486.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.2818, allocations: 4 kB / 486.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.2819, allocations: 0 / 486.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.2819, allocations: 3.938 kB / 486.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009968/0.2829, allocations: 410.4 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2829, allocations: 4 kB / 486.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.2831, allocations: 15.98 kB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2831, allocations: 7.938 kB / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.2831, allocations: 3.938 kB / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2832, allocations: 0 / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2832, allocations: 0 / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006984/0.2839, allocations: 227.4 kB / 487.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.284, allocations: 88.95 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.284, allocations: 3.938 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.2842, allocations: 15.98 kB / 487.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.2843, allocations: 0 / 487.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.2843, allocations: 8 kB / 487.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.2845, allocations: 115.2 kB / 487.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.2845, allocations: 0 / 487.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005798/0.2851, allocations: 47.98 kB / 487.4 MB, free: 14 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.002222/0.2874, allocations: 490.4 kB / 487.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000684/0.2881, allocations: 95.86 kB / 488 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.2881, allocations: 0 / 488 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.2884, allocations: 51.95 kB / 488 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/0.2891, allocations: 26.25 kB / 488 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2901, allocations: 263.5 kB / 488.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.2906, allocations: 0.702 MB / 489 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.2908, allocations: 19.42 kB / 489 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2908, allocations: 0 / 489 MB, free: 12.48 MB / 366.1 MB Notification: Performance of Templates: time 0.008048/0.2988, allocations: 2.174 MB / 491.2 MB, free: 10.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches