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.0008515/0.0008515, allocations: 97.58 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 204.2 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.7 MB / 247.5 MB, free: 11.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1899/0.1899, allocations: 46.18 MB / 345.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002456/0.0002457, allocations: 11.98 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1034, allocations: 63.56 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.001885/0.1054, allocations: 1.369 MB / 485.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009155/0.1063, allocations: 0.5379 MB / 485.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.1064, allocations: 4 kB / 485.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.1069, allocations: 451.2 kB / 486.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.1073, allocations: 271.5 kB / 486.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.1076, allocations: 119.4 kB / 486.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1078, allocations: 159.7 kB / 486.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.985e-05/0.1079, allocations: 23.97 kB / 486.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.108, allocations: 99.8 kB / 486.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1083, allocations: 199.6 kB / 486.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1083, allocations: 0 / 486.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.761e-05/0.1084, allocations: 39.97 kB / 487 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.645e-05/0.1085, allocations: 79.62 kB / 487.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.848e-05/0.1086, allocations: 124.7 kB / 487.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1088, allocations: 183.7 kB / 487.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1088, allocations: 4 kB / 487.4 MB, free: 500 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1088, allocations: 0 / 487.4 MB, free: 500 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1088, allocations: 3.938 kB / 487.4 MB, free: 496 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.0006275/0.1095, allocations: 0.5914 MB / 488 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1095, allocations: 8.875 kB / 488 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.1096, allocations: 44.38 kB / 488 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1099, allocations: 296.1 kB / 488.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1099, allocations: 4.375 kB / 488.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.1099, allocations: 16.25 kB / 488.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.11, allocations: 57.81 kB / 488.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1101, allocations: 3.984 kB / 488.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1101, allocations: 4 kB / 488.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1101, allocations: 0 / 488.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1102, allocations: 27.98 kB / 488.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.1106, allocations: 388.6 kB / 488.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.1109, allocations: 42.56 kB / 488.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.776e-05/0.1109, allocations: 20.94 kB / 488.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.111, allocations: 4 kB / 488.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.111, allocations: 34.56 kB / 488.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.111, allocations: 0 / 488.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006259/0.1116, allocations: 248.1 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.1117, allocations: 51.41 kB / 489.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008134/0.1125, allocations: 0.8653 MB / 490 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1125, allocations: 29.7 kB / 490.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1127, allocations: 220.1 kB / 490.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.1127, allocations: 15.81 kB / 490.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.1127, allocations: 9.719 kB / 490.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1129, allocations: 374.7 kB / 490.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.563e-05/0.113, allocations: 19.98 kB / 490.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.59e-05/0.113, allocations: 23.92 kB / 490.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.1132, allocations: 60.83 kB / 490.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1132, allocations: 3.938 kB / 490.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000221/0.1134, allocations: 117.1 kB / 490.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1135, allocations: 8 kB / 490.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.1135, allocations: 0 / 490.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1135, allocations: 4.031 kB / 490.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.947e-05/0.1136, allocations: 23.98 kB / 490.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1136, allocations: 0 / 490.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.1136, allocations: 11.88 kB / 490.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1136, allocations: 4 kB / 491 MB, free: 12.66 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.0002299/0.1139, allocations: 213.7 kB / 491.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.1139, allocations: 43.44 kB / 491.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.1142, allocations: 145.2 kB / 491.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1143, allocations: 0 / 491.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1143, allocations: 0 / 491.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1143, allocations: 3.938 kB / 491.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.1148, allocations: 470.4 kB / 491.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1148, allocations: 0 / 491.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.1149, allocations: 15.98 kB / 491.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1149, allocations: 0 / 491.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.1149, allocations: 8.25 kB / 491.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1149, allocations: 0 / 491.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1149, allocations: 8 kB / 491.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.1152, allocations: 226.9 kB / 492.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.1153, allocations: 112.5 kB / 492.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.1153, allocations: 3.938 kB / 492.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.1154, allocations: 11.98 kB / 492.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.1154, allocations: 4 kB / 492.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1154, allocations: 4 kB / 492.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005984/0.116, allocations: 0.655 MB / 492.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.116, allocations: 0 / 492.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1163, allocations: 20 kB / 492.9 MB, free: 10.64 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.0008694/0.1172, allocations: 400.8 kB / 493.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.1174, allocations: 55.97 kB / 493.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1174, allocations: 0 / 493.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.1175, allocations: 31.92 kB / 493.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.1178, allocations: 26.3 kB / 493.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.119, allocations: 0.9054 MB / 494.3 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1194, allocations: 0.8185 MB / 495.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.1194, allocations: 15.44 kB / 495.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1194, allocations: 0 / 495.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of Templates: time 0.006588/0.126, allocations: 3.644 MB / 498.8 MB, free: 4.816 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 -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