Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 118.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002022/0.002022, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2739/0.2739, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 75.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.474, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003848/0.4779, allocations: 1.67 MB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.4802, allocations: 1.191 MB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.4804, allocations: 9.25 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.4807, allocations: 27.97 kB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.4811, allocations: 81.75 kB / 0.5339 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.4817, allocations: 182.2 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.482, allocations: 75.39 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.4821, allocations: 17.62 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.4822, allocations: 38.83 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.4824, allocations: 35.36 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.4824, allocations: 4.125 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.4827, allocations: 104.1 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.4828, allocations: 22.78 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.4828, allocations: 21.38 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.4832, allocations: 161.6 kB / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4832, allocations: 1.375 kB / 0.5346 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4832, allocations: 0 / 0.5346 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.4832, allocations: 4 kB / 0.5346 GB, free: 10.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006285/0.4839, allocations: 416.9 kB / 0.535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4839, allocations: 9.625 kB / 0.535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.484, allocations: 9.016 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.4842, allocations: 189.9 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.4843, allocations: 5.688 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.4843, allocations: 3.125 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.4845, allocations: 87.09 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4846, allocations: 0 / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4846, allocations: 0.9688 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4846, allocations: 1.094 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.4847, allocations: 38.67 kB / 0.5353 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.4852, allocations: 317.7 kB / 0.5356 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4854, allocations: 48.34 kB / 0.5356 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.902e-05/0.4855, allocations: 29.64 kB / 0.5357 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.4855, allocations: 1.125 kB / 0.5357 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.4855, allocations: 31.75 kB / 0.5357 GB, free: 9.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.4855, allocations: 0 / 0.5357 GB, free: 9.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000946/0.4865, allocations: 230 kB / 0.5359 GB, free: 9.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.4866, allocations: 78.36 kB / 0.536 GB, free: 9.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.4867, allocations: 153.7 kB / 0.5361 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.4868, allocations: 26.86 kB / 0.5362 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.4868, allocations: 99.69 kB / 0.5363 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.4869, allocations: 31.19 kB / 0.5363 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.4869, allocations: 19.28 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4871, allocations: 325.1 kB / 0.5366 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.4872, allocations: 41.09 kB / 0.5366 GB, free: 8.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.4873, allocations: 61.95 kB / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.4876, allocations: 83.14 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4876, allocations: 0 / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003187/0.4879, allocations: 129.2 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4879, allocations: 7.781 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.488, allocations: 4.031 kB / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.488, allocations: 1.188 kB / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.4881, allocations: 22.55 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.4881, allocations: 0 / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.879e-05/0.4882, allocations: 18.61 kB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.4882, allocations: 2.25 kB / 0.537 GB, free: 8.66 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 (7): * Single equations (assignments): 7 * 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.0001068/0.4883, allocations: 123.9 kB / 0.5371 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.4884, allocations: 7.859 kB / 0.5371 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.4889, allocations: 142.8 kB / 0.5372 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4889, allocations: 0 / 0.5372 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.4889, allocations: 1.406 kB / 0.5372 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4889, allocations: 3.938 kB / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006026/0.4895, allocations: 413.8 kB / 0.5376 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4895, allocations: 0 / 0.5376 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/0.4896, allocations: 19.52 kB / 0.5376 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4896, allocations: 0 / 0.5376 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.4896, allocations: 9.172 kB / 0.5377 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4897, allocations: 1.312 kB / 0.5377 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4897, allocations: 0 / 0.5377 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.49, allocations: 232.6 kB / 0.5379 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.4901, allocations: 82.38 kB / 0.538 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.4901, allocations: 9.062 kB / 0.538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/0.4902, allocations: 10.58 kB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.4903, allocations: 2.719 kB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.4903, allocations: 5.359 kB / 0.538 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.4904, allocations: 119 kB / 0.5381 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4904, allocations: 0 / 0.5381 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003108/0.4907, allocations: 43.33 kB / 0.5381 GB, free: 7.621 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 (7): * Single equations (assignments): 7 * 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.001236/0.492, allocations: 491.2 kB / 0.5386 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003474/0.4923, allocations: 93.14 kB / 0.5387 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4923, allocations: 4.906 kB / 0.5387 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.4925, allocations: 51.83 kB / 0.5387 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.4929, allocations: 24.75 kB / 0.5388 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005504/0.4934, allocations: 217.1 kB / 0.539 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.4937, allocations: 0.6982 MB / 0.5397 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.57e-05/0.4938, allocations: 31.08 kB / 0.5397 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.4939, allocations: 23.11 kB / 0.5397 GB, free: 6.379 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4939, allocations: 0 / 0.5397 GB, free: 6.379 MB / 398.1 MB Notification: Performance of Templates: time 0.005092/0.499, allocations: 1.924 MB / 0.5416 GB, free: 5.379 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches