Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2014/0.2014, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3493, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003777/0.3531, allocations: 1.666 MB / 0.5206 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009274/0.3541, allocations: 451.9 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3542, allocations: 0.9688 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.3545, allocations: 23.3 kB / 0.521 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.3549, allocations: 39.62 kB / 0.521 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.3555, allocations: 139.3 kB / 0.5212 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.3557, allocations: 83.86 kB / 0.5213 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3559, allocations: 14.75 kB / 0.5213 GB, free: 2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.356, allocations: 37.38 kB / 0.5213 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.11e-05/0.3561, allocations: 34.59 kB / 0.5213 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.3561, allocations: 5.375 kB / 0.5213 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.3563, allocations: 62.84 kB / 0.5214 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.3563, allocations: 15.97 kB / 0.5214 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.3564, allocations: 33.75 kB / 0.5215 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.3567, allocations: 116.7 kB / 0.5216 GB, free: 1.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3567, allocations: 5.188 kB / 0.5216 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3567, allocations: 0.7031 kB / 0.5216 GB, free: 1.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.3567, allocations: 0 / 0.5216 GB, free: 1.859 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005379/0.3573, allocations: 414.7 kB / 0.522 GB, free: 1.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3573, allocations: 17.67 kB / 0.522 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.3574, allocations: 9.547 kB / 0.522 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3576, allocations: 191.8 kB / 0.5222 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.3576, allocations: 1.406 kB / 0.5222 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.3576, allocations: 10.56 kB / 0.5222 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.3579, allocations: 94.05 kB / 0.5223 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3579, allocations: 0 / 0.5223 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3579, allocations: 5.188 kB / 0.5223 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3579, allocations: 1.828 kB / 0.5223 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.3582, allocations: 69.69 kB / 0.5223 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.3587, allocations: 308.1 kB / 0.5226 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.3589, allocations: 76.53 kB / 0.5227 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.3591, allocations: 42.77 kB / 0.5228 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3591, allocations: 0.75 kB / 0.5228 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.3591, allocations: 40.09 kB / 0.5228 GB, free: 0.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3591, allocations: 0 / 0.5228 GB, free: 0.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001544/0.3607, allocations: 375.5 kB / 0.5232 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.3607, allocations: 79.2 kB / 0.5232 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.3609, allocations: 142.6 kB / 0.5234 GB, free: 448 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.3609, allocations: 35.62 kB / 0.5234 GB, free: 408 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.3609, allocations: 101.6 kB / 0.5235 GB, free: 308 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.361, allocations: 33.88 kB / 0.5235 GB, free: 280 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.361, allocations: 22.02 kB / 0.5235 GB, free: 260 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3611, allocations: 320.4 kB / 0.5239 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.3614, allocations: 75.38 kB / 0.5239 GB, free: 15.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.3617, allocations: 83.8 kB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.3623, allocations: 156.4 kB / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3623, allocations: 0 / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006127/0.3629, allocations: 194 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3629, allocations: 4.5 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3629, allocations: 0 / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3629, allocations: 1.188 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.3631, allocations: 38 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3632, allocations: 0 / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3633, allocations: 32.53 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.3633, allocations: 5.062 kB / 0.5244 GB, free: 15.77 MB / 398.1 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.347e-05/0.3634, allocations: 116.4 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.3635, allocations: 13.28 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/0.3641, allocations: 208.7 kB / 0.5247 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3641, allocations: 0.9062 kB / 0.5247 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3641, allocations: 0.8438 kB / 0.5247 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3641, allocations: 5.25 kB / 0.5247 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008813/0.365, allocations: 489.4 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.365, allocations: 0 / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.3652, allocations: 35.5 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3652, allocations: 3.938 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3652, allocations: 2.109 kB / 0.5253 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3653, allocations: 1.188 kB / 0.5253 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3653, allocations: 4.375 kB / 0.5253 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/0.3659, allocations: 291.1 kB / 0.5255 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.3659, allocations: 92.92 kB / 0.5256 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.366, allocations: 8.781 kB / 0.5256 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3661, allocations: 23.62 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.3662, allocations: 10.92 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3662, allocations: 3.125 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.923e-05/0.3663, allocations: 114.1 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3663, allocations: 0 / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.3666, allocations: 32.77 kB / 0.5258 GB, free: 14.82 MB / 398.1 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009328/0.3675, allocations: 455.3 kB / 0.5262 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000613/0.3681, allocations: 159 kB / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3681, allocations: 0 / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.3684, allocations: 88.95 kB / 0.5265 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.3688, allocations: 20.17 kB / 0.5265 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.3692, allocations: 203.9 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.3694, allocations: 0.7019 MB / 0.5274 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.993e-05/0.3695, allocations: 15.3 kB / 0.5274 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.3696, allocations: 19.67 kB / 0.5274 GB, free: 13.63 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3696, allocations: 0 / 0.5274 GB, free: 13.63 MB / 398.1 MB Notification: Performance of Templates: time 0.005243/0.3748, allocations: 2.11 MB / 0.5295 GB, free: 12.56 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches