Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009345/0.0009345, allocations: 95.77 kB / 18 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.001189/0.001189, allocations: 201.5 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.349/1.349, allocations: 227.7 MB / 247.5 MB, free: 10.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.19/0.19, allocations: 46.19 MB / 345.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002473/0.0002474, allocations: 8.281 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1003, allocations: 63.57 MB / 483.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002319/0.1026, allocations: 1.735 MB / 485.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.1046, allocations: 1.087 MB / 486.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1047, allocations: 4 kB / 486.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.1052, allocations: 251.4 kB / 486.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005031/0.1057, allocations: 235.3 kB / 487 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.1071, allocations: 0.6132 MB / 487.7 MB, free: 200 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.1076, allocations: 331.1 kB / 488 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.1078, allocations: 76.7 kB / 488.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.108, allocations: 127.3 kB / 488.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.1082, allocations: 191.2 kB / 488.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.1083, allocations: 4 kB / 488.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1084, allocations: 67.91 kB / 488.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.1085, allocations: 87.67 kB / 488.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1087, allocations: 140.7 kB / 488.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.109, allocations: 251.7 kB / 488.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.109, allocations: 0 / 488.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.109, allocations: 0 / 488.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.109, allocations: 0 / 488.9 MB, free: 14.94 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007004/0.1097, allocations: 0.5953 MB / 489.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1098, allocations: 13.95 kB / 489.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.1098, allocations: 44.31 kB / 489.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.1102, allocations: 326.1 kB / 489.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1102, allocations: 12.38 kB / 489.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.1102, allocations: 16.36 kB / 489.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.1105, allocations: 125.8 kB / 490 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1105, allocations: 0 / 490 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1105, allocations: 8 kB / 490 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1106, allocations: 0 / 490 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.1108, allocations: 99.86 kB / 490.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006783/0.1114, allocations: 0.5158 MB / 490.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.1117, allocations: 114.5 kB / 490.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/0.1118, allocations: 40.84 kB / 490.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1118, allocations: 4 kB / 490.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1118, allocations: 30.56 kB / 490.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.1118, allocations: 0 / 490.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001026/0.1129, allocations: 471.9 kB / 491.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1129, allocations: 59.39 kB / 491.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/0.1135, allocations: 0.5681 MB / 491.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1135, allocations: 29.7 kB / 491.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.1137, allocations: 212.3 kB / 492.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.1137, allocations: 51.27 kB / 492.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.1138, allocations: 17.72 kB / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1139, allocations: 354.8 kB / 492.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1141, allocations: 71.95 kB / 492.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.1142, allocations: 79.86 kB / 492.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.1145, allocations: 155.1 kB / 492.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1145, allocations: 7.875 kB / 492.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003845/0.1149, allocations: 241 kB / 493.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1149, allocations: 4 kB / 493.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1149, allocations: 0 / 493.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.115, allocations: 3.938 kB / 493.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.1151, allocations: 35.98 kB / 493.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1151, allocations: 0 / 493.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.733e-05/0.1152, allocations: 15.92 kB / 493.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1152, allocations: 4 kB / 493.2 MB, free: 10.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 (17): * Single equations (assignments): 17 * 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.0001617/0.1154, allocations: 193.6 kB / 493.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.1155, allocations: 47.42 kB / 493.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005366/0.116, allocations: 288 kB / 493.7 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.116, allocations: 3.984 kB / 493.7 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.116, allocations: 0 / 493.7 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.116, allocations: 0 / 493.7 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008334/0.1169, allocations: 0.6972 MB / 494.4 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1169, allocations: 0 / 494.4 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.117, allocations: 39.91 kB / 494.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.117, allocations: 0 / 494.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.117, allocations: 8 kB / 494.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.117, allocations: 0 / 494.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1171, allocations: 3.938 kB / 494.4 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.1175, allocations: 341.9 kB / 494.8 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.1176, allocations: 120.5 kB / 494.9 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.1176, allocations: 8 kB / 494.9 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1177, allocations: 7.984 kB / 494.9 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1178, allocations: 15.92 kB / 494.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1178, allocations: 12 kB / 494.9 MB, free: 8.562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004017/0.1182, allocations: 427.1 kB / 495.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1182, allocations: 0 / 495.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000301/0.1185, allocations: 44 kB / 495.4 MB, free: 8.109 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 (17): * Single equations (assignments): 17 * 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.001579/0.1201, allocations: 0.6919 MB / 496.1 MB, free: 7.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003329/0.1204, allocations: 175.8 kB / 496.3 MB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1204, allocations: 0 / 496.3 MB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.1206, allocations: 95.8 kB / 496.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.1211, allocations: 76.66 kB / 496.4 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1223, allocations: 0.8473 MB / 497.3 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.1226, allocations: 0.8185 MB / 498.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.929e-05/0.1227, allocations: 35.42 kB / 498.1 MB, free: 5.598 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1227, allocations: 0 / 498.1 MB, free: 5.598 MB / 366.1 MB Notification: Performance of Templates: time 0.007227/0.1299, allocations: 4.728 MB / 0.4911 GB, free: 0.8789 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches