Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002052/0.002051, allocations: 116.3 kB / 17.98 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002335/0.002335, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.831/2.831, 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.4809/0.4809, allocations: 46.09 MB / 344.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 77.75 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3159, allocations: 62.44 MB / 480.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.01022/0.3262, allocations: 1.711 MB / 481.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.3286, allocations: 0.5729 MB / 482.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.3289, allocations: 8 kB / 482.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.3303, allocations: 455.1 kB / 482.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.3318, allocations: 279.5 kB / 483.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.333, allocations: 171 kB / 483.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007092/0.3337, allocations: 171.6 kB / 483.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.334, allocations: 23.98 kB / 483.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00448/0.3385, allocations: 103.8 kB / 483.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005913/0.3391, allocations: 219.6 kB / 483.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.3392, allocations: 4 kB / 483.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.3395, allocations: 35.92 kB / 483.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.3397, allocations: 95.61 kB / 484 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.3399, allocations: 99 kB / 484.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.3405, allocations: 199.8 kB / 484.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.223e-05/0.3406, allocations: 4 kB / 484.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.3406, allocations: 0 / 484.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.3406, allocations: 0 / 484.3 MB, free: 1.48 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.001624/0.3422, allocations: 0.626 MB / 484.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.3423, allocations: 12.03 kB / 484.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.3425, allocations: 40.38 kB / 484.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000528/0.343, allocations: 300.1 kB / 485.2 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.3431, allocations: 8.375 kB / 485.2 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.3431, allocations: 8.312 kB / 485.2 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.3434, allocations: 61.8 kB / 485.3 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.3434, allocations: 3.984 kB / 485.3 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.3435, allocations: 0 / 485.3 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.3435, allocations: 0 / 485.3 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.3437, allocations: 27.92 kB / 485.3 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.3447, allocations: 400.8 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.3451, allocations: 42.56 kB / 485.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.485e-05/0.3452, allocations: 20.94 kB / 485.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.3452, allocations: 0 / 485.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.3453, allocations: 30.56 kB / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/0.3453, allocations: 0 / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.001265/0.3466, allocations: 243.8 kB / 486.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.3467, allocations: 55.41 kB / 486.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.3482, allocations: 0.866 MB / 487 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3483, allocations: 29.64 kB / 487 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.3486, allocations: 224.1 kB / 487.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.3487, allocations: 15.81 kB / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.3487, allocations: 17.72 kB / 487.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.349, allocations: 366.7 kB / 487.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.3492, allocations: 23.98 kB / 487.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3493, allocations: 23.92 kB / 487.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.3496, allocations: 52.81 kB / 487.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3496, allocations: 0 / 487.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004077/0.35, allocations: 125.1 kB / 487.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.3501, allocations: 4 kB / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3501, allocations: 0 / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.3501, allocations: 0 / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004261/0.3544, allocations: 15.98 kB / 487.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.3544, allocations: 0 / 487.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.3546, allocations: 16.39 kB / 487.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.3547, allocations: 0 / 487.9 MB, free: 13.63 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 (5): * Single equations (assignments): 5 * 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.0004426/0.3551, allocations: 217.7 kB / 488.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.3553, allocations: 43.44 kB / 488.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006509/0.3559, allocations: 149.1 kB / 488.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.356, allocations: 3.984 kB / 488.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.356, allocations: 0 / 488.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.356, allocations: 3.938 kB / 488.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.3572, allocations: 474.3 kB / 488.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/0.3572, allocations: 4 kB / 488.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.3573, allocations: 11.94 kB / 488.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.3574, allocations: 0 / 488.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.3574, allocations: 3.938 kB / 488.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.3574, allocations: 3.984 kB / 488.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.3574, allocations: 4 kB / 488.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.358, allocations: 218.9 kB / 489 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.3582, allocations: 112.6 kB / 489.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.3582, allocations: 3.938 kB / 489.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.3584, allocations: 4 kB / 489.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.3585, allocations: 7.984 kB / 489.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3585, allocations: 4 kB / 489.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001251/0.3598, allocations: 0.6472 MB / 489.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3598, allocations: 0 / 489.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005172/0.3603, allocations: 39.89 kB / 489.8 MB, free: 11.6 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 (5): * Single equations (assignments): 5 * 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.001699/0.362, allocations: 393.8 kB / 490.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003868/0.3625, allocations: 55.95 kB / 490.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3625, allocations: 3.938 kB / 490.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.3626, allocations: 23.98 kB / 490.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007212/0.3634, allocations: 38.17 kB / 490.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.3656, allocations: 0.9143 MB / 491.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000715/0.3663, allocations: 0.826 MB / 492 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.3664, allocations: 11.44 kB / 492.1 MB, free: 9.418 MB / 366.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3664, allocations: 0 / 492.1 MB, free: 9.418 MB / 366.1 MB Notification: Performance of Templates: time 0.01748/0.3839, allocations: 3.793 MB / 495.8 MB, free: 5.621 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches