Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2042/0.2042, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 80.44 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1022, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002927/0.1052, allocations: 1.646 MB / 483.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000885/0.1061, allocations: 0.5533 MB / 483.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.1062, allocations: 0 / 483.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.1066, allocations: 459.1 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.1071, allocations: 287.3 kB / 484.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.1074, allocations: 131.3 kB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.1076, allocations: 171.7 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1077, allocations: 12 kB / 484.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1078, allocations: 119.7 kB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.108, allocations: 203.6 kB / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1081, allocations: 4 kB / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.617e-05/0.1081, allocations: 35.98 kB / 485 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.646e-05/0.1083, allocations: 83.69 kB / 485.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.033e-05/0.1083, allocations: 103 kB / 485.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.1086, allocations: 262.9 kB / 485.5 MB, free: 496 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1086, allocations: 4 kB / 485.5 MB, free: 492 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1086, allocations: 0 / 485.5 MB, free: 492 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1086, allocations: 0 / 485.5 MB, free: 492 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006124/0.1092, allocations: 0.6375 MB / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1093, allocations: 8.031 kB / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.1093, allocations: 40.47 kB / 486.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.1096, allocations: 296.1 kB / 486.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1096, allocations: 4.375 kB / 486.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1096, allocations: 384 / 486.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.1098, allocations: 65.73 kB / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1098, allocations: 4 kB / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1098, allocations: 0 / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1098, allocations: 4 kB / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.735e-05/0.1099, allocations: 19.98 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.1103, allocations: 384.7 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1105, allocations: 50.5 kB / 487 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.1105, allocations: 20.94 kB / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.1106, allocations: 0 / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1106, allocations: 34.56 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1106, allocations: 0 / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000555/0.1112, allocations: 228.2 kB / 487.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.1112, allocations: 55.39 kB / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00073/0.1119, allocations: 0.8614 MB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.112, allocations: 25.7 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1121, allocations: 232 kB / 488.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.1121, allocations: 7.812 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.1122, allocations: 17.72 kB / 488.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1123, allocations: 374.7 kB / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.1124, allocations: 19.98 kB / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.398e-05/0.1124, allocations: 15.98 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.1126, allocations: 56.7 kB / 488.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1126, allocations: 0 / 488.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001836/0.1128, allocations: 117.1 kB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1128, allocations: 4 kB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1128, allocations: 4 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1128, allocations: 0 / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.1129, allocations: 19.97 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1129, allocations: 0 / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.531e-05/0.113, allocations: 11.88 kB / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.113, allocations: 3.984 kB / 489.1 MB, free: 12.67 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.0001536/0.1131, allocations: 213.7 kB / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.1132, allocations: 39.53 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.1134, allocations: 137.3 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1135, allocations: 0 / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.1135, allocations: 4.062 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1135, allocations: 7.938 kB / 489.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.114, allocations: 462.4 kB / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.114, allocations: 0 / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.1141, allocations: 15.98 kB / 489.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1141, allocations: 0 / 489.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1141, allocations: 7.938 kB / 489.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1141, allocations: 4 kB / 489.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1141, allocations: 0 / 489.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.1143, allocations: 207 kB / 490.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.1144, allocations: 108.5 kB / 490.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1144, allocations: 11.88 kB / 490.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.1145, allocations: 7.984 kB / 490.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.1146, allocations: 4 kB / 490.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1146, allocations: 0 / 490.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005465/0.1151, allocations: 0.655 MB / 490.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1151, allocations: 4 kB / 490.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.1154, allocations: 24 kB / 491 MB, free: 10.68 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.0008761/0.1163, allocations: 400.7 kB / 491.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.1165, allocations: 43.97 kB / 491.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1165, allocations: 0 / 491.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.952e-05/0.1166, allocations: 27.92 kB / 491.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1169, allocations: 33.8 kB / 491.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009583/0.1179, allocations: 0.7835 MB / 492.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1183, allocations: 0.826 MB / 493.1 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.934e-05/0.1183, allocations: 8 kB / 493.1 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.1183, allocations: 11.44 kB / 493.1 MB, free: 8.641 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1183, allocations: 0 / 493.1 MB, free: 8.641 MB / 366.1 MB Notification: Performance of Templates: time 0.004634/0.123, allocations: 1.474 MB / 494.6 MB, free: 7.168 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches