Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008319/0.0008319, allocations: 184.1 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.2/1.2, allocations: 223.3 MB / 242.1 MB, free: 9.941 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.0007811/0.0007813, allocations: 87.2 kB / 293.3 MB, free: 10.55 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.2847/0.2847, allocations: 44.14 MB / 388.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003086, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2537, allocations: 61.88 MB / 0.5107 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09621/0.3499, allocations: 87.47 MB / 0.5961 GB, free: 7.602 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.3502, allocations: 83.94 kB / 0.5962 GB, free: 7.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006586/0.3568, allocations: 3.206 MB / 0.5994 GB, free: 4.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3568, allocations: 0 / 0.5994 GB, free: 4.297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.3568, allocations: 4 kB / 0.5994 GB, free: 4.293 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.0002757/0.3571, allocations: 363.3 kB / 0.5997 GB, free: 3.887 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.3571, allocations: 8.031 kB / 0.5997 GB, free: 3.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.3572, allocations: 8.844 kB / 0.5997 GB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.3573, allocations: 180.2 kB / 0.5999 GB, free: 3.656 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3573, allocations: 384 / 0.5999 GB, free: 3.656 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.3573, allocations: 12.38 kB / 0.5999 GB, free: 3.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.3576, allocations: 183.8 kB / 0.6001 GB, free: 3.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3576, allocations: 192 / 0.6001 GB, free: 3.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3576, allocations: 15.88 kB / 0.6001 GB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.3576, allocations: 7.984 kB / 0.6001 GB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.908e-05/0.3577, allocations: 59.72 kB / 0.6002 GB, free: 3.328 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009839/0.3587, allocations: 1.705 MB / 0.6018 GB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.065e-05/0.3588, allocations: 181.1 kB / 0.602 GB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.3589, allocations: 80.14 kB / 0.6021 GB, free: 1.246 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.3589, allocations: 79.22 kB / 0.6022 GB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.359, allocations: 109.8 kB / 0.6023 GB, free: 1.051 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.359, allocations: 0 / 0.6023 GB, free: 1.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 8.113e-05/0.3591, allocations: 41.53 kB / 0.6023 GB, free: 1.004 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.3591, allocations: 130.7 kB / 0.6024 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.3593, allocations: 188 kB / 0.6026 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.3593, allocations: 25.7 kB / 0.6026 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.3594, allocations: 143.2 kB / 0.6028 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-06/0.3594, allocations: 4 kB / 0.6028 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.3594, allocations: 0 / 0.6028 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3596, allocations: 318.8 kB / 0.6031 GB, free: 176 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.3596, allocations: 31.98 kB / 0.6031 GB, free: 144 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.3598, allocations: 159.4 kB / 0.6033 GB, free: 15.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.36, allocations: 200.8 kB / 0.6034 GB, free: 15.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.36, allocations: 4 kB / 0.6034 GB, free: 15.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002744/0.3603, allocations: 193.1 kB / 0.6036 GB, free: 15.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3603, allocations: 8 kB / 0.6036 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3603, allocations: 11.92 kB / 0.6037 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3603, allocations: 8.625 kB / 0.6037 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3604, allocations: 39.92 kB / 0.6037 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.3605, allocations: 8 kB / 0.6037 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.597e-05/0.3605, allocations: 23.75 kB / 0.6037 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.3606, allocations: 12 kB / 0.6037 GB, free: 15.36 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.0001251/0.3607, allocations: 214.1 kB / 0.6039 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.3608, allocations: 112.8 kB / 0.6041 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.3608, allocations: 120.8 kB / 0.6042 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.582e-05/0.3609, allocations: 184.3 kB / 0.6043 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-05/0.3609, allocations: 180.2 kB / 0.6045 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.856e-05/0.361, allocations: 180.3 kB / 0.6047 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.3612, allocations: 425.2 kB / 0.6051 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.268e-05/0.3612, allocations: 112.8 kB / 0.6052 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.3613, allocations: 105 kB / 0.6053 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.599e-05/0.3613, allocations: 184.2 kB / 0.6055 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.3614, allocations: 180.2 kB / 0.6056 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.753e-05/0.3615, allocations: 180.3 kB / 0.6058 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.556e-05/0.3615, allocations: 184.2 kB / 0.606 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.3616, allocations: 311.7 kB / 0.6063 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.597e-05/0.3617, allocations: 193.9 kB / 0.6065 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/0.3618, allocations: 180.2 kB / 0.6066 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.3619, allocations: 108.9 kB / 0.6068 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.3619, allocations: 180.2 kB / 0.6069 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.362, allocations: 104.9 kB / 0.607 GB, free: 11.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.132e-05/0.3621, allocations: 136.1 kB / 0.6072 GB, free: 11.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3621, allocations: 0 / 0.6072 GB, free: 11.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002718/0.3624, allocations: 12 kB / 0.6072 GB, free: 11.62 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.0004414/0.3628, allocations: 288.3 kB / 0.6074 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.363, allocations: 76.22 kB / 0.6075 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.363, allocations: 4 kB / 0.6075 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.363, allocations: 352 / 0.6075 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.3633, allocations: 0.5271 MB / 0.608 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.3637, allocations: 286.6 kB / 0.6083 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.3639, allocations: 0.697 MB / 0.609 GB, free: 9.746 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000128/0.364, allocations: 53.02 kB / 0.609 GB, free: 9.695 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.364, allocations: 11.44 kB / 0.609 GB, free: 9.684 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3641, allocations: 0 / 0.609 GB, free: 9.684 MB / 426.7 MB Notification: Performance of Templates: time 0.002816/0.3669, allocations: 0.6965 MB / 0.6097 GB, free: 8.988 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches