Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.334/1.334, allocations: 223.2 MB / 241 MB, free: 11.87 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.0009008/0.0009008, allocations: 102.9 kB / 292.2 MB, free: 10.91 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.3483/0.3483, allocations: 44.21 MB / 387.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002934, allocations: 8 kB / 459.9 MB, free: 1.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3619, allocations: 61.91 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4891, allocations: 88.9 MB / 0.5964 GB, free: 6.258 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4894, allocations: 75.94 kB / 0.5964 GB, free: 6.188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01754/0.5069, allocations: 7.998 MB / 0.6043 GB, free: 14.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.507, allocations: 0 / 0.6043 GB, free: 14.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.426e-05/0.507, allocations: 8 kB / 0.6043 GB, free: 14.17 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000754/0.5078, allocations: 0.6337 MB / 0.6049 GB, free: 13.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.5078, allocations: 8.562 kB / 0.6049 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.17e-05/0.5079, allocations: 43.44 kB / 0.6049 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.5084, allocations: 339.2 kB / 0.6053 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.5084, allocations: 0 / 0.6053 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.5085, allocations: 4 kB / 0.6053 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.5087, allocations: 69.66 kB / 0.6053 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.5087, allocations: 3.938 kB / 0.6053 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.5087, allocations: 0 / 0.6053 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.5087, allocations: 0 / 0.6053 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.5089, allocations: 51.95 kB / 0.6054 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006967/0.5096, allocations: 460.6 kB / 0.6058 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.5097, allocations: 50.55 kB / 0.6059 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.5097, allocations: 0 / 0.6059 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.5098, allocations: 46.58 kB / 0.6059 GB, free: 12.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.5098, allocations: 0 / 0.6059 GB, free: 12.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008709/0.5107, allocations: 335.8 kB / 0.6062 GB, free: 11.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.5107, allocations: 63.36 kB / 0.6063 GB, free: 11.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.5119, allocations: 0.7824 MB / 0.6071 GB, free: 11.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.5119, allocations: 29.7 kB / 0.6071 GB, free: 11.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.5121, allocations: 212.1 kB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.5121, allocations: 23.72 kB / 0.6073 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.5121, allocations: 4 kB / 0.6073 GB, free: 10.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5123, allocations: 362.8 kB / 0.6077 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.5124, allocations: 47.97 kB / 0.6077 GB, free: 10.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.5125, allocations: 43.97 kB / 0.6077 GB, free: 10.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.5126, allocations: 55.91 kB / 0.6078 GB, free: 10.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5126, allocations: 0 / 0.6078 GB, free: 10.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003246/0.513, allocations: 173.1 kB / 0.608 GB, free: 10.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.513, allocations: 4 kB / 0.608 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.513, allocations: 0 / 0.608 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.513, allocations: 0 / 0.608 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.5132, allocations: 27.98 kB / 0.608 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.5132, allocations: 0 / 0.608 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-05/0.5133, allocations: 19.94 kB / 0.608 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.5133, allocations: 4 kB / 0.608 GB, free: 10.1 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 (7): * Single equations (assignments): 7 * 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.0001983/0.5135, allocations: 217.7 kB / 0.6082 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.5136, allocations: 43.44 kB / 0.6083 GB, free: 9.832 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.514, allocations: 197.4 kB / 0.6085 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.514, allocations: 0 / 0.6085 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.514, allocations: 0 / 0.6085 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.514, allocations: 4 kB / 0.6085 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.5151, allocations: 0.6583 MB / 0.6091 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5151, allocations: 0 / 0.6091 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-05/0.5152, allocations: 27.98 kB / 0.6091 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5152, allocations: 0 / 0.6091 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.5152, allocations: 0 / 0.6091 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.5152, allocations: 4 kB / 0.6091 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.5152, allocations: 3.953 kB / 0.6091 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.5157, allocations: 283.3 kB / 0.6094 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.516, allocations: 160.5 kB / 0.6096 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.516, allocations: 4 kB / 0.6096 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.5161, allocations: 19.98 kB / 0.6096 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.5162, allocations: 3.984 kB / 0.6096 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.5162, allocations: 7.953 kB / 0.6096 GB, free: 8.375 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007019/0.5169, allocations: 0.6355 MB / 0.6102 GB, free: 7.742 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5169, allocations: 3.938 kB / 0.6102 GB, free: 7.738 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003005/0.5172, allocations: 59.94 kB / 0.6103 GB, free: 7.68 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 (7): * Single equations (assignments): 7 * 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.0009207/0.5181, allocations: 407.5 kB / 0.6107 GB, free: 7.434 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.5185, allocations: 103.9 kB / 0.6108 GB, free: 7.332 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.5185, allocations: 3.938 kB / 0.6108 GB, free: 7.328 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.5186, allocations: 63.89 kB / 0.6108 GB, free: 7.266 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.5189, allocations: 25.95 kB / 0.6109 GB, free: 7.238 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.5202, allocations: 0.9313 MB / 0.6118 GB, free: 6.281 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.5207, allocations: 0.8418 MB / 0.6126 GB, free: 5.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.5209, allocations: 48.91 kB / 0.6126 GB, free: 5.359 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.5209, allocations: 27.36 kB / 0.6127 GB, free: 5.332 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5209, allocations: 0 / 0.6127 GB, free: 5.332 MB / 426.7 MB Notification: Performance of Templates: time 0.00645/0.5274, allocations: 2.532 MB / 0.6151 GB, free: 2.797 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches