Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009164/0.0009165, allocations: 179 kB / 18.09 MB, free: 3.75 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.254/1.254, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0007835/0.0007835, allocations: 94.27 kB / 293.3 MB, free: 10.78 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.2747/0.2747, allocations: 44.14 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003272, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2607, allocations: 61.88 MB / 0.5107 GB, free: 37.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.364, allocations: 91.09 MB / 0.5997 GB, free: 3.988 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.3643, allocations: 79.92 kB / 0.5998 GB, free: 3.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02257/0.3869, allocations: 8.934 MB / 0.6085 GB, free: 10.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3869, allocations: 3.938 kB / 0.6085 GB, free: 10.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.749e-05/0.387, allocations: 12 kB / 0.6085 GB, free: 10.96 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001001/0.388, allocations: 0.6302 MB / 0.6091 GB, free: 10.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.388, allocations: 12.03 kB / 0.6091 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.3881, allocations: 40.47 kB / 0.6092 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.3887, allocations: 370 kB / 0.6095 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3887, allocations: 4.375 kB / 0.6095 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.3887, allocations: 12.38 kB / 0.6095 GB, free: 9.805 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.389, allocations: 123.3 kB / 0.6096 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.389, allocations: 192 / 0.6096 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.389, allocations: 7.938 kB / 0.6097 GB, free: 9.672 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.389, allocations: 4 kB / 0.6097 GB, free: 9.668 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.3892, allocations: 91.94 kB / 0.6097 GB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007896/0.39, allocations: 0.543 MB / 0.6103 GB, free: 8.984 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.3902, allocations: 110.5 kB / 0.6104 GB, free: 8.867 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/0.3903, allocations: 44.84 kB / 0.6104 GB, free: 8.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.3903, allocations: 0 / 0.6104 GB, free: 8.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3904, allocations: 34.55 kB / 0.6105 GB, free: 8.777 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.3904, allocations: 4 kB / 0.6105 GB, free: 8.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009873/0.3914, allocations: 451.9 kB / 0.6109 GB, free: 8.324 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3914, allocations: 55.41 kB / 0.6109 GB, free: 8.258 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006223/0.3921, allocations: 0.5446 MB / 0.6115 GB, free: 7.707 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3921, allocations: 29.7 kB / 0.6115 GB, free: 7.672 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3922, allocations: 204.3 kB / 0.6117 GB, free: 7.469 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.3923, allocations: 55.25 kB / 0.6118 GB, free: 7.414 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.3923, allocations: 0 / 0.6118 GB, free: 7.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3924, allocations: 354.8 kB / 0.6121 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3926, allocations: 67.95 kB / 0.6122 GB, free: 6.992 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.3927, allocations: 73.36 kB / 0.6122 GB, free: 6.922 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.3929, allocations: 162.1 kB / 0.6124 GB, free: 6.762 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.393, allocations: 4 kB / 0.6124 GB, free: 6.758 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000347/0.3933, allocations: 242.3 kB / 0.6126 GB, free: 6.516 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3933, allocations: 4 kB / 0.6126 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3933, allocations: 0 / 0.6126 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3934, allocations: 4 kB / 0.6126 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3935, allocations: 35.92 kB / 0.6127 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3935, allocations: 0 / 0.6127 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.559e-05/0.3936, allocations: 23.83 kB / 0.6127 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3936, allocations: 8 kB / 0.6127 GB, free: 6.441 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 (17): * Single equations (assignments): 17 * 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.0001442/0.3938, allocations: 177.7 kB / 0.6129 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.3939, allocations: 47.47 kB / 0.6129 GB, free: 6.211 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.3943, allocations: 279.5 kB / 0.6132 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3943, allocations: 7.984 kB / 0.6132 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3943, allocations: 0 / 0.6132 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3944, allocations: 0 / 0.6132 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008466/0.3952, allocations: 0.7362 MB / 0.6139 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3952, allocations: 0 / 0.6139 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.3953, allocations: 39.92 kB / 0.6139 GB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3953, allocations: 0 / 0.6139 GB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3954, allocations: 7.922 kB / 0.6139 GB, free: 5.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3954, allocations: 4 kB / 0.6139 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3954, allocations: 3.984 kB / 0.6139 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.3958, allocations: 344.7 kB / 0.6143 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.3959, allocations: 144.6 kB / 0.6144 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.396, allocations: 4 kB / 0.6144 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3961, allocations: 16 kB / 0.6144 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.3961, allocations: 11.92 kB / 0.6144 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.3961, allocations: 7.938 kB / 0.6145 GB, free: 4.523 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004331/0.3966, allocations: 407.1 kB / 0.6148 GB, free: 4.125 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3966, allocations: 0 / 0.6148 GB, free: 4.125 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003126/0.3969, allocations: 71.92 kB / 0.6149 GB, free: 4.055 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 (17): * Single equations (assignments): 17 * 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.00139/0.3983, allocations: 0.711 MB / 0.6156 GB, free: 3.656 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003331/0.3986, allocations: 171.8 kB / 0.6158 GB, free: 3.488 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3987, allocations: 0 / 0.6158 GB, free: 3.488 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.3988, allocations: 95.02 kB / 0.6159 GB, free: 3.398 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.3993, allocations: 78.36 kB / 0.6159 GB, free: 3.324 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.4004, allocations: 0.7714 MB / 0.6167 GB, free: 2.523 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.4008, allocations: 0.8223 MB / 0.6175 GB, free: 1.676 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.401, allocations: 77.81 kB / 0.6176 GB, free: 1.598 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.4011, allocations: 35.42 kB / 0.6176 GB, free: 1.562 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4011, allocations: 0 / 0.6176 GB, free: 1.562 MB / 426.7 MB Notification: Performance of Templates: time 0.007561/0.4087, allocations: 3.654 MB / 0.6212 GB, free: 13.93 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches