Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008301/0.0008299, allocations: 97.28 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009055/0.0009056, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1912/0.1912, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002547, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1027, allocations: 63.56 MB / 483.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.001965/0.1047, allocations: 1.388 MB / 485.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009778/0.1057, allocations: 0.5418 MB / 485.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.1058, allocations: 0 / 485.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.1063, allocations: 459.1 kB / 486.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.1067, allocations: 271.5 kB / 486.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1071, allocations: 119.8 kB / 486.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.1073, allocations: 167.6 kB / 486.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.718e-05/0.1074, allocations: 19.98 kB / 486.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1075, allocations: 107.8 kB / 486.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.1078, allocations: 203.5 kB / 487 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1078, allocations: 7.938 kB / 487 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1079, allocations: 47.97 kB / 487 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.108, allocations: 83.69 kB / 487.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.914e-05/0.1081, allocations: 128.6 kB / 487.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1084, allocations: 195.7 kB / 487.4 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1084, allocations: 0 / 487.4 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1084, allocations: 0 / 487.4 MB, free: 456 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1084, allocations: 0 / 487.4 MB, free: 456 kB / 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.0006585/0.1091, allocations: 0.5992 MB / 488 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1091, allocations: 8.031 kB / 488 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.1092, allocations: 44.38 kB / 488.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1095, allocations: 296.1 kB / 488.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1095, allocations: 8.375 kB / 488.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.1095, allocations: 4.375 kB / 488.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1097, allocations: 65.73 kB / 488.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1097, allocations: 0 / 488.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1097, allocations: 0 / 488.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.1097, allocations: 4 kB / 488.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1098, allocations: 31.98 kB / 488.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.1103, allocations: 400.5 kB / 488.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.1104, allocations: 46.56 kB / 488.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.1105, allocations: 24.94 kB / 488.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1105, allocations: 0 / 488.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1106, allocations: 34.59 kB / 489 MB, free: 14.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1106, allocations: 0 / 489 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009768/0.1115, allocations: 347.9 kB / 489.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.1116, allocations: 63.33 kB / 489.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008214/0.1124, allocations: 0.8575 MB / 490.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1124, allocations: 33.7 kB / 490.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.1126, allocations: 220.1 kB / 490.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.1127, allocations: 27.56 kB / 490.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.1127, allocations: 21.7 kB / 490.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1129, allocations: 358.8 kB / 490.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.802e-05/0.113, allocations: 27.98 kB / 490.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.497e-05/0.113, allocations: 31.97 kB / 490.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1132, allocations: 68.84 kB / 491 MB, free: 12.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1132, allocations: 3.938 kB / 491 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002451/0.1135, allocations: 149 kB / 491.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1135, allocations: 4 kB / 491.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1135, allocations: 4 kB / 491.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.1135, allocations: 0 / 491.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1136, allocations: 19.98 kB / 491.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1136, allocations: 11.88 kB / 491.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.02e-05/0.1137, allocations: 7.984 kB / 491.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1137, allocations: 0 / 491.2 MB, free: 12.44 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 (8): * Single equations (assignments): 8 * 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.0001778/0.1139, allocations: 213.8 kB / 491.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.114, allocations: 43.53 kB / 491.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.1143, allocations: 169.3 kB / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1143, allocations: 0 / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.1143, allocations: 7.922 kB / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1143, allocations: 0 / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.115, allocations: 0.5074 MB / 492.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.115, allocations: 7.938 kB / 492.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.712e-05/0.1151, allocations: 24.02 kB / 492.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.1151, allocations: 4 kB / 492.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1151, allocations: 4 kB / 492.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1151, allocations: 0 / 492.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1151, allocations: 3.938 kB / 492.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.1154, allocations: 247.9 kB / 492.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.1155, allocations: 116.5 kB / 492.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.1155, allocations: 8 kB / 492.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.1156, allocations: 4 kB / 492.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.1156, allocations: 7.984 kB / 492.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.1157, allocations: 4 kB / 492.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005878/0.1162, allocations: 0.6511 MB / 493.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1163, allocations: 4 kB / 493.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.1165, allocations: 31.98 kB / 493.2 MB, free: 10.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001025/0.1176, allocations: 453.1 kB / 493.7 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.1178, allocations: 71.97 kB / 493.8 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1178, allocations: 0 / 493.8 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.732e-05/0.1179, allocations: 47.91 kB / 493.8 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.1183, allocations: 34.3 kB / 493.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.1195, allocations: 0.9339 MB / 494.8 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.1199, allocations: 0.8302 MB / 495.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.1199, allocations: 15.44 kB / 495.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1199, allocations: 0 / 495.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of Templates: time 0.006973/0.1269, allocations: 3.87 MB / 499.5 MB, free: 4.129 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches