Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001231/0.001231, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001479/0.001479, allocations: 216.5 kB / 18.74 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 80.09 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.4495, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003167/0.4527, allocations: 1.681 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.4538, allocations: 0.5479 MB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.4538, allocations: 5.562 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006007/0.4544, allocations: 460 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004782/0.4549, allocations: 284.2 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.4553, allocations: 138 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.4555, allocations: 173.1 kB / 0.5342 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.4557, allocations: 17.61 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.4558, allocations: 114.7 kB / 0.5343 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.4561, allocations: 218 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.4561, allocations: 4.219 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.4562, allocations: 47.83 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.4563, allocations: 82.38 kB / 0.5347 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.165e-05/0.4564, allocations: 107.9 kB / 0.5348 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.4569, allocations: 273.8 kB / 0.535 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4569, allocations: 1.125 kB / 0.535 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4569, allocations: 0 / 0.535 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.4569, allocations: 0 / 0.535 GB, free: 10.89 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.00103/0.4579, allocations: 0.6492 MB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.458, allocations: 9.344 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.862e-05/0.4581, allocations: 42.69 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.4584, allocations: 294.5 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.4584, allocations: 2.562 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.4585, allocations: 6.625 kB / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.4586, allocations: 64.67 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.4587, allocations: 1.406 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.4587, allocations: 8 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4587, allocations: 5.219 kB / 0.5361 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.4588, allocations: 27.75 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.4594, allocations: 398.4 kB / 0.5365 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.4595, allocations: 47.3 kB / 0.5365 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.4595, allocations: 16.7 kB / 0.5366 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.4596, allocations: 5.125 kB / 0.5366 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.4596, allocations: 40.17 kB / 0.5366 GB, free: 9.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4596, allocations: 0 / 0.5366 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001009/0.4606, allocations: 311 kB / 0.5369 GB, free: 9.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.4607, allocations: 56.78 kB / 0.5369 GB, free: 9.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000994/0.4617, allocations: 0.8651 MB / 0.5378 GB, free: 8.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.4617, allocations: 25.7 kB / 0.5378 GB, free: 8.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.4619, allocations: 226.8 kB / 0.538 GB, free: 8.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.4619, allocations: 26.3 kB / 0.5381 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.462, allocations: 19.5 kB / 0.5381 GB, free: 8.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4622, allocations: 364.1 kB / 0.5384 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.012e-05/0.4623, allocations: 25.89 kB / 0.5384 GB, free: 8.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.4623, allocations: 23.64 kB / 0.5385 GB, free: 8.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.4625, allocations: 60.58 kB / 0.5385 GB, free: 8.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4625, allocations: 0 / 0.5385 GB, free: 8.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002474/0.4628, allocations: 137.8 kB / 0.5387 GB, free: 8.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.4628, allocations: 13.45 kB / 0.5387 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4628, allocations: 0 / 0.5387 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.4628, allocations: 1.406 kB / 0.5387 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.463, allocations: 17.83 kB / 0.5387 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.463, allocations: 3.938 kB / 0.5387 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.463, allocations: 3.344 kB / 0.5387 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.463, allocations: 2.125 kB / 0.5387 GB, free: 7.992 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 (8): * Single equations (assignments): 8 * 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.0002206/0.4633, allocations: 215.3 kB / 0.5389 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/0.4633, allocations: 46.47 kB / 0.539 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.4637, allocations: 163.6 kB / 0.5391 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.4637, allocations: 1.25 kB / 0.5391 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.4637, allocations: 5.344 kB / 0.5391 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4638, allocations: 0 / 0.5391 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.4645, allocations: 0.5018 MB / 0.5396 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4645, allocations: 4.969 kB / 0.5396 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.4646, allocations: 14.47 kB / 0.5396 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.4646, allocations: 5.016 kB / 0.5396 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.4646, allocations: 5.156 kB / 0.5396 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.4646, allocations: 1.281 kB / 0.5396 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4646, allocations: 3.938 kB / 0.5396 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.4649, allocations: 238.3 kB / 0.5399 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/0.465, allocations: 115.5 kB / 0.54 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.4651, allocations: 1.219 kB / 0.54 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.4651, allocations: 7.469 kB / 0.54 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.4652, allocations: 7.203 kB / 0.54 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.4652, allocations: 6.438 kB / 0.54 GB, free: 6.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007616/0.466, allocations: 0.6572 MB / 0.5406 GB, free: 6.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.466, allocations: 4 kB / 0.5406 GB, free: 6.598 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.4663, allocations: 26.47 kB / 0.5407 GB, free: 6.594 MB / 398.1 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 (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.001142/0.4674, allocations: 456.2 kB / 0.5411 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.4677, allocations: 72.3 kB / 0.5412 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4677, allocations: 0 / 0.5412 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.521e-05/0.4678, allocations: 42.34 kB / 0.5412 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.4682, allocations: 28.95 kB / 0.5412 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.4696, allocations: 0.8129 MB / 0.542 GB, free: 5.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.4701, allocations: 0.8312 MB / 0.5428 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.4702, allocations: 16.34 kB / 0.5429 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.4702, allocations: 15.31 kB / 0.5429 GB, free: 5.07 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4702, allocations: 0 / 0.5429 GB, free: 5.07 MB / 398.1 MB Notification: Performance of Templates: time 0.005715/0.4759, allocations: 1.734 MB / 0.5446 GB, free: 3.598 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches