Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 117.6 kB / 17.78 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001379, allocations: 199.9 kB / 18.73 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2329/0.2329, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.00152, allocations: 76.11 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4597/0.4612, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003328/0.4646, allocations: 1.682 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.4658, allocations: 0.5682 MB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/0.4659, allocations: 5.75 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.4661, allocations: 65.42 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.4665, allocations: 110.1 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.4669, allocations: 178.8 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.4671, allocations: 96.98 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.4672, allocations: 27.2 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.55e-05/0.4673, allocations: 40.34 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.4674, allocations: 52.56 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.4675, allocations: 4.125 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.861e-05/0.4676, allocations: 48.92 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.4676, allocations: 30.91 kB / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.4677, allocations: 38.55 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.4678, allocations: 124.8 kB / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4679, allocations: 1.375 kB / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4679, allocations: 4 kB / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.4679, allocations: 0 / 0.534 GB, free: 11.36 MB / 398.1 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.0004769/0.4684, allocations: 423 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.4684, allocations: 9.625 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.4684, allocations: 10.34 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.4686, allocations: 208.3 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.4687, allocations: 5.75 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.4687, allocations: 3.125 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.4689, allocations: 73.88 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4689, allocations: 0 / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.4689, allocations: 1.219 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4689, allocations: 1.219 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.4691, allocations: 48.77 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.4695, allocations: 325.6 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.4698, allocations: 64.08 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.099e-05/0.4698, allocations: 26.31 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.4699, allocations: 1.406 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.4699, allocations: 38.55 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4699, allocations: 1.031 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001605/0.4715, allocations: 433.7 kB / 0.5356 GB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.4716, allocations: 57.62 kB / 0.5357 GB, free: 9.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.4718, allocations: 214.1 kB / 0.5359 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.4719, allocations: 26.89 kB / 0.5359 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.4719, allocations: 105.6 kB / 0.536 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.472, allocations: 40.36 kB / 0.536 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.472, allocations: 30.16 kB / 0.5361 GB, free: 9.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4722, allocations: 323.5 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.4723, allocations: 56.83 kB / 0.5364 GB, free: 9.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.4725, allocations: 52.17 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.4728, allocations: 135.7 kB / 0.5366 GB, free: 9.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4728, allocations: 1.469 kB / 0.5366 GB, free: 9.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003656/0.4732, allocations: 160.6 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4732, allocations: 5.75 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4732, allocations: 0 / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4732, allocations: 7.922 kB / 0.5368 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.4734, allocations: 36.77 kB / 0.5368 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4734, allocations: 1.062 kB / 0.5368 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/0.4734, allocations: 9.641 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4735, allocations: 2.875 kB / 0.5368 GB, free: 8.988 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 (11): * Single equations (assignments): 11 * 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 0.0001303/0.4736, allocations: 134.9 kB / 0.5369 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.4736, allocations: 14.41 kB / 0.537 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.4741, allocations: 195.1 kB / 0.5371 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.4741, allocations: 4.938 kB / 0.5372 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4741, allocations: 1.062 kB / 0.5372 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4741, allocations: 0 / 0.5372 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007364/0.4749, allocations: 0.4999 MB / 0.5376 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4749, allocations: 0 / 0.5376 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.475, allocations: 28.62 kB / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.475, allocations: 1.062 kB / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.475, allocations: 6.469 kB / 0.5377 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.475, allocations: 1.062 kB / 0.5377 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4751, allocations: 1.062 kB / 0.5377 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.4755, allocations: 282.2 kB / 0.5379 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.4755, allocations: 88.89 kB / 0.538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.4756, allocations: 1.094 kB / 0.538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.4757, allocations: 18.02 kB / 0.5381 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.4757, allocations: 12.64 kB / 0.5381 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.4757, allocations: 3.219 kB / 0.5381 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.4759, allocations: 167.8 kB / 0.5382 GB, free: 7.805 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4759, allocations: 0 / 0.5382 GB, free: 7.805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.4762, allocations: 31.55 kB / 0.5383 GB, free: 7.793 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001082/0.4773, allocations: 461.8 kB / 0.5387 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003673/0.4776, allocations: 125.4 kB / 0.5388 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4776, allocations: 0 / 0.5388 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.4778, allocations: 75.42 kB / 0.5389 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.4782, allocations: 27.09 kB / 0.5389 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/0.4788, allocations: 320.9 kB / 0.5392 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.4791, allocations: 0.7217 MB / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.98e-05/0.4792, allocations: 30.7 kB / 0.54 GB, free: 6.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.4793, allocations: 19.27 kB / 0.54 GB, free: 6.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4793, allocations: 3.938 kB / 0.54 GB, free: 6.477 MB / 398.1 MB Notification: Performance of Templates: time 0.004493/0.4838, allocations: 1.651 MB / 0.5416 GB, free: 5.633 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches