Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008322/0.0008322, allocations: 184.5 kB / 18.09 MB, free: 3.727 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.197/1.197, allocations: 223.3 MB / 242.1 MB, free: 9.859 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.0007551/0.0007552, allocations: 100.7 kB / 293.3 MB, free: 10.53 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.2762/0.2762, allocations: 44.14 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 12 kB / 461.1 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2603, allocations: 61.88 MB / 0.5107 GB, free: 37.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09898/0.3593, allocations: 87.68 MB / 0.5963 GB, free: 7.426 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.3595, allocations: 79.95 kB / 0.5964 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006481/0.366, allocations: 3.217 MB / 0.5996 GB, free: 4.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.366, allocations: 0 / 0.5996 GB, free: 4.113 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3661, allocations: 4 kB / 0.5996 GB, free: 4.109 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002986/0.3664, allocations: 371.4 kB / 0.5999 GB, free: 3.695 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3664, allocations: 8.031 kB / 0.5999 GB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.3664, allocations: 8.844 kB / 0.5999 GB, free: 3.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3666, allocations: 168.3 kB / 0.6001 GB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3666, allocations: 8.375 kB / 0.6001 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.3666, allocations: 12.3 kB / 0.6001 GB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.3668, allocations: 185.4 kB / 0.6003 GB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3669, allocations: 8.188 kB / 0.6003 GB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3669, allocations: 7.938 kB / 0.6003 GB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.3669, allocations: 11.94 kB / 0.6003 GB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.01e-05/0.367, allocations: 55.78 kB / 0.6004 GB, free: 3.141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008861/0.3679, allocations: 1.705 MB / 0.602 GB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.607e-05/0.368, allocations: 169.1 kB / 0.6022 GB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.368, allocations: 88.14 kB / 0.6023 GB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.368, allocations: 79.22 kB / 0.6024 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/0.3681, allocations: 105.8 kB / 0.6025 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.3681, allocations: 0 / 0.6025 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.785e-05/0.3682, allocations: 37.55 kB / 0.6025 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.3682, allocations: 130.7 kB / 0.6026 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3684, allocations: 192 kB / 0.6028 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.3684, allocations: 25.7 kB / 0.6028 GB, free: 472 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.684e-05/0.3685, allocations: 139.2 kB / 0.603 GB, free: 328 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-06/0.3685, allocations: 4 kB / 0.603 GB, free: 324 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.3686, allocations: 4 kB / 0.603 GB, free: 320 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3687, allocations: 318.8 kB / 0.6033 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.3687, allocations: 35.97 kB / 0.6033 GB, free: 15.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.3689, allocations: 157.4 kB / 0.6035 GB, free: 15.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.369, allocations: 200.9 kB / 0.6036 GB, free: 15.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3691, allocations: 0 / 0.6036 GB, free: 15.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002976/0.3694, allocations: 197.2 kB / 0.6038 GB, free: 15.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3694, allocations: 11.94 kB / 0.6038 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3694, allocations: 4 kB / 0.6039 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3694, allocations: 11.98 kB / 0.6039 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3696, allocations: 35.92 kB / 0.6039 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.3696, allocations: 11.97 kB / 0.6039 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.3697, allocations: 24.22 kB / 0.6039 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3697, allocations: 16 kB / 0.6039 GB, free: 15.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.000123/0.3698, allocations: 214.1 kB / 0.6042 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.3699, allocations: 120.8 kB / 0.6043 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.002e-05/0.3699, allocations: 108.9 kB / 0.6044 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-05/0.37, allocations: 184.2 kB / 0.6045 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.977e-05/0.3701, allocations: 188.1 kB / 0.6047 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.717e-05/0.3702, allocations: 184.3 kB / 0.6049 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.3704, allocations: 425.1 kB / 0.6053 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.942e-05/0.3704, allocations: 104.9 kB / 0.6054 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.009e-05/0.3705, allocations: 105 kB / 0.6055 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.773e-05/0.3705, allocations: 180.2 kB / 0.6057 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/0.3706, allocations: 180.3 kB / 0.6059 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-05/0.3706, allocations: 184.2 kB / 0.606 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-05/0.3707, allocations: 184.3 kB / 0.6062 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.3708, allocations: 303.7 kB / 0.6065 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.473e-05/0.3709, allocations: 197.9 kB / 0.6067 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.359e-05/0.371, allocations: 184.2 kB / 0.6069 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.3711, allocations: 101 kB / 0.607 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.3712, allocations: 184.2 kB / 0.6071 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.3712, allocations: 101 kB / 0.6072 GB, free: 11.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.967e-05/0.3713, allocations: 132 kB / 0.6074 GB, free: 11.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3713, allocations: 0 / 0.6074 GB, free: 11.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.3716, allocations: 20 kB / 0.6074 GB, free: 11.44 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 (0): * Single equations (assignments): 0 * 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.0004605/0.3721, allocations: 285.7 kB / 0.6076 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.3722, allocations: 76.91 kB / 0.6077 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3722, allocations: 4.125 kB / 0.6077 GB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.3723, allocations: 4.281 kB / 0.6077 GB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3726, allocations: 0.5301 MB / 0.6082 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.373, allocations: 282.7 kB / 0.6085 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.3733, allocations: 0.697 MB / 0.6092 GB, free: 9.562 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.3734, allocations: 53.02 kB / 0.6092 GB, free: 9.512 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.3734, allocations: 15.42 kB / 0.6093 GB, free: 9.496 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3734, allocations: 0 / 0.6093 GB, free: 9.496 MB / 426.7 MB Notification: Performance of Templates: time 0.002446/0.3759, allocations: 0.6993 MB / 0.6099 GB, free: 8.801 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches