Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 179.2 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 223.3 MB / 242.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008692/0.0008694, allocations: 88.95 kB / 293.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2767/0.2767, allocations: 44.14 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003174, allocations: 12 kB / 461.1 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2766, allocations: 61.89 MB / 0.5107 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.3789, allocations: 90.45 MB / 0.5991 GB, free: 4.629 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.3792, allocations: 83.94 kB / 0.5991 GB, free: 4.551 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02116/0.4003, allocations: 8.627 MB / 0.6076 GB, free: 11.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4004, allocations: 0 / 0.6076 GB, free: 11.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.319e-05/0.4004, allocations: 15.98 kB / 0.6076 GB, free: 11.89 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008444/0.4013, allocations: 0.5952 MB / 0.6082 GB, free: 11.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4013, allocations: 8.031 kB / 0.6082 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.4015, allocations: 32.56 kB / 0.6082 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.402, allocations: 362 kB / 0.6085 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.402, allocations: 8.375 kB / 0.6086 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.4021, allocations: 4.375 kB / 0.6086 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.4023, allocations: 82.22 kB / 0.6086 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4023, allocations: 4.125 kB / 0.6086 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4023, allocations: 11.92 kB / 0.6087 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4023, allocations: 3.938 kB / 0.6087 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.4025, allocations: 55.97 kB / 0.6087 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006229/0.4031, allocations: 456.4 kB / 0.6091 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.4032, allocations: 50.56 kB / 0.6092 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.4033, allocations: 32.97 kB / 0.6092 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.4033, allocations: 0 / 0.6092 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.4034, allocations: 34.56 kB / 0.6093 GB, free: 10.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4034, allocations: 4 kB / 0.6093 GB, free: 10 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003219/0.4037, allocations: 133.2 kB / 0.6094 GB, free: 9.867 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.4038, allocations: 51.41 kB / 0.6094 GB, free: 9.805 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006286/0.4044, allocations: 0.5292 MB / 0.61 GB, free: 9.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.4044, allocations: 25.7 kB / 0.61 GB, free: 9.238 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.4046, allocations: 203.9 kB / 0.6102 GB, free: 9.035 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.4046, allocations: 27.64 kB / 0.6102 GB, free: 9.008 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-06/0.4046, allocations: 4 kB / 0.6102 GB, free: 9.004 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4047, allocations: 342.8 kB / 0.6105 GB, free: 8.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.4048, allocations: 19.98 kB / 0.6105 GB, free: 8.641 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.851e-05/0.4049, allocations: 23.98 kB / 0.6106 GB, free: 8.617 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.405, allocations: 52.84 kB / 0.6106 GB, free: 8.562 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.405, allocations: 0 / 0.6106 GB, free: 8.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001886/0.4052, allocations: 113.2 kB / 0.6107 GB, free: 8.445 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4052, allocations: 8 kB / 0.6107 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4052, allocations: 0 / 0.6107 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.4052, allocations: 0 / 0.6107 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.4053, allocations: 15.98 kB / 0.6108 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4053, allocations: 0 / 0.6108 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.155e-05/0.4054, allocations: 15.84 kB / 0.6108 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.4054, allocations: 4.438 kB / 0.6108 GB, free: 8.402 MB / 426.7 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.4056, allocations: 165.8 kB / 0.6109 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.4056, allocations: 39.56 kB / 0.611 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.4059, allocations: 136.8 kB / 0.6111 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4059, allocations: 0 / 0.6111 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4059, allocations: 4 kB / 0.6111 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4059, allocations: 3.938 kB / 0.6111 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.4063, allocations: 297.4 kB / 0.6114 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4063, allocations: 4 kB / 0.6114 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.4063, allocations: 12 kB / 0.6114 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4063, allocations: 0 / 0.6114 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.4063, allocations: 7.984 kB / 0.6114 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4064, allocations: 0 / 0.6114 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4064, allocations: 0 / 0.6114 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.4066, allocations: 218.9 kB / 0.6116 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.4067, allocations: 136.6 kB / 0.6118 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.4068, allocations: 8 kB / 0.6118 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.4069, allocations: 7.984 kB / 0.6118 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.4069, allocations: 7.938 kB / 0.6118 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.4069, allocations: 0 / 0.6118 GB, free: 7.266 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004232/0.4074, allocations: 407.1 kB / 0.6122 GB, free: 6.871 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4074, allocations: 0 / 0.6122 GB, free: 6.871 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.4076, allocations: 51.84 kB / 0.6122 GB, free: 6.82 MB / 426.7 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/0.4089, allocations: 0.5979 MB / 0.6128 GB, free: 6.484 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.4091, allocations: 55.91 kB / 0.6128 GB, free: 6.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4091, allocations: 8 kB / 0.6129 GB, free: 6.422 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.829e-05/0.4091, allocations: 23.98 kB / 0.6129 GB, free: 6.398 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.4096, allocations: 58.59 kB / 0.6129 GB, free: 6.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009123/0.4105, allocations: 0.6335 MB / 0.6136 GB, free: 5.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.4109, allocations: 0.7907 MB / 0.6143 GB, free: 4.863 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.411, allocations: 45.52 kB / 0.6144 GB, free: 4.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.4111, allocations: 27.42 kB / 0.6144 GB, free: 4.793 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4111, allocations: 0 / 0.6144 GB, free: 4.793 MB / 426.7 MB Notification: Performance of Templates: time 0.006697/0.4178, allocations: 3.049 MB / 0.6174 GB, free: 1.762 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches