Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1829/0.1829, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 74.7 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09297, allocations: 62.45 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002857/0.09586, allocations: 1.622 MB / 483.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008799/0.09676, allocations: 0.5416 MB / 483.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.09681, allocations: 0 / 483.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.09727, allocations: 451.2 kB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.09767, allocations: 291.3 kB / 484.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.09795, allocations: 131 kB / 484.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.09814, allocations: 159.7 kB / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.09824, allocations: 23.97 kB / 484.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.009e-05/0.09834, allocations: 103.7 kB / 484.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.09853, allocations: 207.6 kB / 485 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.09856, allocations: 7.984 kB / 485 MB, free: 1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.979e-05/0.09862, allocations: 31.92 kB / 485 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.09873, allocations: 83.69 kB / 485.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.91e-05/0.09881, allocations: 103 kB / 485.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.09904, allocations: 251 kB / 485.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.09905, allocations: 0 / 485.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.09905, allocations: 0 / 485.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.09906, allocations: 0 / 485.4 MB, free: 0.5391 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006124/0.09968, allocations: 0.6336 MB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.09971, allocations: 8.031 kB / 486.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.09977, allocations: 36.47 kB / 486.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.1, allocations: 312.1 kB / 486.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1, allocations: 4.359 kB / 486.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.1001, allocations: 4.375 kB / 486.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1002, allocations: 57.81 kB / 486.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.1002, allocations: 0 / 486.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1002, allocations: 0 / 486.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1002, allocations: 0 / 486.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1003, allocations: 31.97 kB / 486.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.1007, allocations: 388.6 kB / 486.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.1009, allocations: 38.56 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.476e-05/0.1009, allocations: 20.94 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.101, allocations: 4 kB / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.101, allocations: 34.55 kB / 487 MB, free: 14.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.101, allocations: 4 kB / 487 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002768/0.1013, allocations: 117.1 kB / 487.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.1013, allocations: 51.41 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/0.102, allocations: 0.8613 MB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.1021, allocations: 25.7 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.1022, allocations: 216 kB / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.1022, allocations: 11.84 kB / 488.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.1023, allocations: 21.7 kB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1024, allocations: 362.7 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.886e-05/0.1025, allocations: 19.92 kB / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.1025, allocations: 11.98 kB / 488.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.1026, allocations: 44.83 kB / 488.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1026, allocations: 0 / 488.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001797/0.1028, allocations: 109 kB / 488.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1028, allocations: 4 kB / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1028, allocations: 4 kB / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.1029, allocations: 0 / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.1029, allocations: 7.984 kB / 488.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1029, allocations: 4 kB / 488.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.103, allocations: 3.984 kB / 488.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.103, allocations: 4 kB / 488.8 MB, free: 12.89 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 (3): * Single equations (assignments): 3 * 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.0001518/0.1032, allocations: 217.7 kB / 489 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.1032, allocations: 35.53 kB / 489.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.1034, allocations: 125.2 kB / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1035, allocations: 48 / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1035, allocations: 3.984 kB / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1035, allocations: 0 / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.1037, allocations: 293.4 kB / 489.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1037, allocations: 4 kB / 489.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.1038, allocations: 11.98 kB / 489.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.1038, allocations: 0 / 489.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1038, allocations: 3.938 kB / 489.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1038, allocations: 0 / 489.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.1038, allocations: 0 / 489.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.104, allocations: 203 kB / 489.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/0.1041, allocations: 112.5 kB / 489.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1041, allocations: 4 kB / 489.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.1042, allocations: 4 kB / 489.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.1042, allocations: 7.922 kB / 489.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.1042, allocations: 0 / 489.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005242/0.1048, allocations: 0.655 MB / 490.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1048, allocations: 0 / 490.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.105, allocations: 16 kB / 490.5 MB, free: 11.11 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 (3): * Single equations (assignments): 3 * 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.0007004/0.1057, allocations: 345.7 kB / 490.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1059, allocations: 35.91 kB / 490.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1059, allocations: 0 / 490.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.1059, allocations: 27.98 kB / 490.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.1063, allocations: 31.77 kB / 490.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009124/0.1072, allocations: 0.7757 MB / 491.7 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1076, allocations: 0.8182 MB / 492.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.023e-05/0.1076, allocations: 7.984 kB / 492.5 MB, free: 9.148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.1076, allocations: 19.44 kB / 492.6 MB, free: 9.129 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1076, allocations: 3.938 kB / 492.6 MB, free: 9.125 MB / 366.1 MB Notification: Performance of Templates: time 0.2041/0.3118, allocations: 1.263 MB / 493.8 MB, free: 7.863 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches