Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008096/0.0008098, allocations: 187 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.192/1.192, allocations: 223.3 MB / 242.1 MB, free: 9.863 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.0007908/0.000791, allocations: 97.42 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.2743/0.2743, allocations: 44.14 MB / 388.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 12 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2565, allocations: 61.88 MB / 0.5107 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09995/0.3565, allocations: 88.63 MB / 0.5973 GB, free: 6.438 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.3568, allocations: 83.94 kB / 0.5974 GB, free: 6.359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01669/0.3735, allocations: 8.379 MB / 0.6055 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3735, allocations: 4 kB / 0.6055 GB, free: 13.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.3735, allocations: 4 kB / 0.6055 GB, free: 13.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006516/0.3742, allocations: 0.626 MB / 0.6062 GB, free: 13.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3742, allocations: 8.031 kB / 0.6062 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.893e-05/0.3743, allocations: 44.38 kB / 0.6062 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.3748, allocations: 356 kB / 0.6065 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3748, allocations: 4.375 kB / 0.6066 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.3748, allocations: 4.375 kB / 0.6066 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.375, allocations: 66.17 kB / 0.6066 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.375, allocations: 192 / 0.6066 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.375, allocations: 3.938 kB / 0.6066 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.375, allocations: 4 kB / 0.6066 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.751e-05/0.3751, allocations: 31.98 kB / 0.6067 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.3757, allocations: 452.5 kB / 0.6071 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.154e-05/0.3758, allocations: 38.56 kB / 0.6071 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.3759, allocations: 24.94 kB / 0.6071 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.3759, allocations: 0 / 0.6071 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.376, allocations: 38.59 kB / 0.6072 GB, free: 12.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.376, allocations: 3.938 kB / 0.6072 GB, free: 12.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008696/0.3768, allocations: 325.5 kB / 0.6075 GB, free: 11.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.3769, allocations: 55.41 kB / 0.6076 GB, free: 11.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.378, allocations: 0.8457 MB / 0.6084 GB, free: 10.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.3781, allocations: 29.7 kB / 0.6084 GB, free: 10.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.3782, allocations: 224 kB / 0.6086 GB, free: 10.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.3783, allocations: 31.62 kB / 0.6087 GB, free: 10.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.3783, allocations: 0 / 0.6087 GB, free: 10.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3784, allocations: 366.7 kB / 0.609 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.3785, allocations: 23.98 kB / 0.609 GB, free: 10.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.446e-05/0.3786, allocations: 35.97 kB / 0.6091 GB, free: 10.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.3787, allocations: 64.83 kB / 0.6091 GB, free: 10.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.3787, allocations: 0 / 0.6091 GB, free: 10.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002398/0.379, allocations: 145 kB / 0.6093 GB, free: 9.922 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.379, allocations: 9.875 kB / 0.6093 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.379, allocations: 7.984 kB / 0.6093 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.379, allocations: 0 / 0.6093 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/0.3791, allocations: 19.98 kB / 0.6093 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3791, allocations: 0 / 0.6093 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.3792, allocations: 15.94 kB / 0.6093 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3792, allocations: 7.984 kB / 0.6093 GB, free: 9.863 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 (8): * Single equations (assignments): 8 * 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.0001766/0.3794, allocations: 210.3 kB / 0.6095 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/0.3795, allocations: 43.44 kB / 0.6096 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.3798, allocations: 177.6 kB / 0.6097 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3798, allocations: 4 kB / 0.6097 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3798, allocations: 0 / 0.6097 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3798, allocations: 3.938 kB / 0.6097 GB, free: 9.418 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007766/0.3806, allocations: 0.6397 MB / 0.6104 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.3806, allocations: 0 / 0.6104 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.58e-05/0.3807, allocations: 19.98 kB / 0.6104 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3807, allocations: 3.938 kB / 0.6104 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3807, allocations: 4 kB / 0.6104 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3807, allocations: 4 kB / 0.6104 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3807, allocations: 0 / 0.6104 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.381, allocations: 243.8 kB / 0.6106 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.3812, allocations: 168.5 kB / 0.6108 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.3812, allocations: 7.938 kB / 0.6108 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.3813, allocations: 4 kB / 0.6108 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.3814, allocations: 11.98 kB / 0.6108 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.3814, allocations: 4 kB / 0.6108 GB, free: 8.219 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000652/0.382, allocations: 0.6394 MB / 0.6114 GB, free: 7.582 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.382, allocations: 0 / 0.6114 GB, free: 7.582 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002969/0.3823, allocations: 71.92 kB / 0.6115 GB, free: 7.512 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008852/0.3832, allocations: 467.9 kB / 0.612 GB, free: 7.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.3834, allocations: 67.97 kB / 0.612 GB, free: 7.164 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3835, allocations: 0 / 0.612 GB, free: 7.164 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.29e-05/0.3835, allocations: 39.92 kB / 0.6121 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.3839, allocations: 25.95 kB / 0.6121 GB, free: 7.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.3851, allocations: 0.9478 MB / 0.613 GB, free: 6.121 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3854, allocations: 0.834 MB / 0.6138 GB, free: 5.262 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.53e-05/0.3855, allocations: 44.72 kB / 0.6139 GB, free: 5.219 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.3856, allocations: 19.44 kB / 0.6139 GB, free: 5.199 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3856, allocations: 0 / 0.6139 GB, free: 5.199 MB / 426.7 MB Notification: Performance of Templates: time 0.005956/0.3916, allocations: 2.672 MB / 0.6165 GB, free: 2.523 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches