Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001825/0.001825, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002639/0.002639, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.734/2.734, allocations: 227.4 MB / 247.1 MB, free: 9.098 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3557/0.3557, allocations: 46.11 MB / 344.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002615/0.002615, allocations: 76.94 kB / 417.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2726, allocations: 62.45 MB / 480.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.00966/0.2824, allocations: 1.712 MB / 481.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.2847, allocations: 0.5533 MB / 482.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2848, allocations: 0 / 482.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000969/0.2858, allocations: 455.1 kB / 482.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004983/0.2909, allocations: 275.5 kB / 483.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007304/0.2917, allocations: 119.4 kB / 483.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004517/0.2921, allocations: 175.6 kB / 483.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.2923, allocations: 15.98 kB / 483.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.2926, allocations: 107.8 kB / 483.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004575/0.2931, allocations: 227.5 kB / 483.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.2931, allocations: 11.94 kB / 483.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.2933, allocations: 31.98 kB / 483.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.2935, allocations: 87.62 kB / 483.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.2936, allocations: 107 kB / 484 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.294, allocations: 187.8 kB / 484.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2941, allocations: 0 / 484.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2941, allocations: 0 / 484.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.2941, allocations: 0 / 484.2 MB, free: 1.535 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.001237/0.2954, allocations: 0.6416 MB / 484.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.2954, allocations: 16.03 kB / 484.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.2956, allocations: 44.36 kB / 484.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.296, allocations: 308.1 kB / 485.2 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.2961, allocations: 4.375 kB / 485.2 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.2961, allocations: 4.375 kB / 485.2 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.2964, allocations: 61.8 kB / 485.3 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.2964, allocations: 4 kB / 485.3 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.2965, allocations: 0 / 485.3 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2965, allocations: 0 / 485.3 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.2968, allocations: 35.97 kB / 485.3 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008099/0.2976, allocations: 392.7 kB / 485.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.2978, allocations: 42.55 kB / 485.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.298, allocations: 28.94 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.298, allocations: 3.938 kB / 485.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.2981, allocations: 30.56 kB / 485.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.2981, allocations: 0 / 485.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.005693/0.3038, allocations: 299.8 kB / 486.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.3039, allocations: 59.39 kB / 486.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.3054, allocations: 0.8535 MB / 487 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.3054, allocations: 29.7 kB / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.3057, allocations: 212.1 kB / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.3057, allocations: 27.59 kB / 487.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.3058, allocations: 21.7 kB / 487.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.3061, allocations: 366.7 kB / 487.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.3063, allocations: 31.97 kB / 487.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.3065, allocations: 39.97 kB / 487.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.3069, allocations: 72.81 kB / 487.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3069, allocations: 4 kB / 487.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006134/0.3075, allocations: 149.1 kB / 487.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.3076, allocations: 6.344 kB / 487.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3076, allocations: 0 / 487.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.3076, allocations: 3.984 kB / 487.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.3079, allocations: 19.98 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3079, allocations: 3.938 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.3081, allocations: 19.92 kB / 488 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3081, allocations: 0 / 488 MB, free: 13.52 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.000336/0.3085, allocations: 209.8 kB / 488.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3086, allocations: 43.44 kB / 488.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006419/0.3093, allocations: 165.4 kB / 488.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3093, allocations: 4 kB / 488.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3093, allocations: 0 / 488.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3093, allocations: 3.938 kB / 488.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.3105, allocations: 498.4 kB / 488.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3105, allocations: 0 / 488.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.3108, allocations: 19.98 kB / 488.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.3108, allocations: 4 kB / 488.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.3108, allocations: 3.938 kB / 488.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.3109, allocations: 4 kB / 488.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3109, allocations: 3.938 kB / 488.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/0.3115, allocations: 247.2 kB / 489.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.3116, allocations: 104.6 kB / 489.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.3117, allocations: 15.94 kB / 489.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.3119, allocations: 12.27 kB / 489.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.312, allocations: 4 kB / 489.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.3121, allocations: 3.984 kB / 489.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001164/0.3132, allocations: 0.6511 MB / 489.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.3132, allocations: 0 / 489.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005041/0.3138, allocations: 24 kB / 490 MB, free: 11.42 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.001732/0.3155, allocations: 403.3 kB / 490.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005414/0.3161, allocations: 79.88 kB / 490.4 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3161, allocations: 0 / 490.4 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.3164, allocations: 43.97 kB / 490.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.3171, allocations: 25.95 kB / 490.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/0.3237, allocations: 0.9337 MB / 491.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006665/0.3244, allocations: 0.8221 MB / 492.3 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3246, allocations: 19.44 kB / 492.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3246, allocations: 3.938 kB / 492.3 MB, free: 9.168 MB / 366.1 MB Notification: Performance of Templates: time 0.01355/0.3382, allocations: 3.831 MB / 496.1 MB, free: 5.332 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches