Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 198.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 226.5 MB / 243.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007983/0.0007979, allocations: 104 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3545/0.3545, allocations: 44.83 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002755/0.0002758, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3565, allocations: 62.96 MB / 0.5159 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001877/0.3585, allocations: 1.357 MB / 0.5172 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007633/0.3592, allocations: 0.5324 MB / 0.5177 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.3593, allocations: 2.906 kB / 0.5177 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.3598, allocations: 450.1 kB / 0.5182 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.3601, allocations: 272.6 kB / 0.5184 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.3605, allocations: 152.4 kB / 0.5186 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.3607, allocations: 148.4 kB / 0.5187 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3608, allocations: 25.11 kB / 0.5187 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.485e-05/0.3609, allocations: 102.5 kB / 0.5188 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.3611, allocations: 175.3 kB / 0.519 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.3611, allocations: 3.031 kB / 0.519 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/0.3612, allocations: 40.91 kB / 0.519 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.639e-05/0.3613, allocations: 85.36 kB / 0.5191 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.3613, allocations: 123 kB / 0.5192 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.3615, allocations: 194.2 kB / 0.5194 GB, free: 35.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3615, allocations: 0 / 0.5194 GB, free: 35.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3616, allocations: 0 / 0.5194 GB, free: 35.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3616, allocations: 0 / 0.5194 GB, free: 35.58 MB / 378.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.0005127/0.3621, allocations: 0.6032 MB / 0.52 GB, free: 35.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3621, allocations: 9.312 kB / 0.52 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.3622, allocations: 44.12 kB / 0.5201 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.3624, allocations: 299.5 kB / 0.5203 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3624, allocations: 7.188 kB / 0.5203 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.3624, allocations: 3.344 kB / 0.5203 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3626, allocations: 67.48 kB / 0.5204 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3626, allocations: 0 / 0.5204 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3626, allocations: 6.938 kB / 0.5204 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3626, allocations: 4 kB / 0.5204 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.562e-05/0.3627, allocations: 32.41 kB / 0.5205 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.3632, allocations: 411.5 kB / 0.5208 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.719e-05/0.3633, allocations: 53.45 kB / 0.5209 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/0.3633, allocations: 17.02 kB / 0.5209 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3634, allocations: 6.297 kB / 0.5209 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.3634, allocations: 38.59 kB / 0.521 GB, free: 34.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3634, allocations: 0 / 0.521 GB, free: 34.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000869/0.3643, allocations: 351.4 kB / 0.5213 GB, free: 34.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.3643, allocations: 55.34 kB / 0.5213 GB, free: 34.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007011/0.365, allocations: 0.8686 MB / 0.5222 GB, free: 33.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.365, allocations: 29.7 kB / 0.5222 GB, free: 33.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3652, allocations: 225 kB / 0.5224 GB, free: 33.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.3652, allocations: 29.81 kB / 0.5225 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/0.3652, allocations: 8 kB / 0.5225 GB, free: 33.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.3653, allocations: 356.7 kB / 0.5228 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-05/0.3654, allocations: 34.44 kB / 0.5228 GB, free: 33.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.3655, allocations: 35.61 kB / 0.5229 GB, free: 33.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.3656, allocations: 87.56 kB / 0.523 GB, free: 33.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3656, allocations: 0 / 0.523 GB, free: 33.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002203/0.3659, allocations: 154.2 kB / 0.5231 GB, free: 33.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3659, allocations: 5.75 kB / 0.5231 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3659, allocations: 4 kB / 0.5231 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3659, allocations: 0 / 0.5231 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/0.366, allocations: 21.22 kB / 0.5231 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.366, allocations: 3.938 kB / 0.5231 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.576e-05/0.3661, allocations: 9.188 kB / 0.5232 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.3661, allocations: 0 / 0.5232 GB, free: 33.01 MB / 378.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.0001486/0.3663, allocations: 214.7 kB / 0.5234 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.3663, allocations: 48.17 kB / 0.5234 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.3666, allocations: 189.9 kB / 0.5236 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3666, allocations: 0 / 0.5236 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3667, allocations: 4.359 kB / 0.5236 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3667, allocations: 6.594 kB / 0.5236 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.3672, allocations: 0.5167 MB / 0.5241 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3672, allocations: 6.75 kB / 0.5241 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.515e-05/0.3673, allocations: 22.05 kB / 0.5241 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3673, allocations: 0 / 0.5241 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3673, allocations: 6.828 kB / 0.5241 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3673, allocations: 0 / 0.5241 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3673, allocations: 7.031 kB / 0.5241 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.3676, allocations: 257.8 kB / 0.5244 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.3676, allocations: 119.1 kB / 0.5245 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.3677, allocations: 4 kB / 0.5245 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.3678, allocations: 9.141 kB / 0.5245 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.3678, allocations: 3 kB / 0.5245 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.3678, allocations: 6.719 kB / 0.5245 GB, free: 32.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004843/0.3683, allocations: 0.6678 MB / 0.5252 GB, free: 31.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3683, allocations: 0 / 0.5252 GB, free: 31.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.3686, allocations: 26.38 kB / 0.5252 GB, free: 31.78 MB / 378.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.0009423/0.3695, allocations: 456 kB / 0.5256 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.3697, allocations: 77.34 kB / 0.5257 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3698, allocations: 0 / 0.5257 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.154e-05/0.3699, allocations: 46.23 kB / 0.5257 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3702, allocations: 33.62 kB / 0.5258 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009822/0.3712, allocations: 0.9079 MB / 0.5267 GB, free: 31.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.3715, allocations: 0.8368 MB / 0.5275 GB, free: 30.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.3715, allocations: 15.91 kB / 0.5275 GB, free: 30.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3715, allocations: 4 kB / 0.5275 GB, free: 30.31 MB / 378.7 MB Notification: Performance of Templates: time 0.006166/0.3777, allocations: 3.958 MB / 0.5314 GB, free: 29.47 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches