Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001497/0.001497, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001867/0.001867, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, 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.2549/0.2549, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 79.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4577, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004001/0.4618, allocations: 2.05 MB / 0.533 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.4646, allocations: 1.346 MB / 0.5343 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.4648, allocations: 4.125 kB / 0.5343 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.4652, allocations: 57 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006085/0.4659, allocations: 213.2 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.4675, allocations: 0.6037 MB / 0.5352 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006182/0.4682, allocations: 313.8 kB / 0.5355 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.4685, allocations: 69.73 kB / 0.5355 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.4688, allocations: 140.4 kB / 0.5357 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.4692, allocations: 194.3 kB / 0.5358 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.754e-05/0.4693, allocations: 16.72 kB / 0.5359 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.4695, allocations: 64.45 kB / 0.5359 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.4698, allocations: 148.5 kB / 0.5361 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.47, allocations: 165.4 kB / 0.5362 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006796/0.4707, allocations: 404.9 kB / 0.5366 GB, free: 9.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4707, allocations: 0 / 0.5366 GB, free: 9.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.079e-06/0.4707, allocations: 0 / 0.5366 GB, free: 9.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.4707, allocations: 4.781 kB / 0.5366 GB, free: 9.477 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001295/0.4721, allocations: 0.7981 MB / 0.5374 GB, free: 8.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4721, allocations: 9.406 kB / 0.5374 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003591/0.4725, allocations: 76.31 kB / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008766/0.4734, allocations: 465.6 kB / 0.5379 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.4734, allocations: 8.562 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.4735, allocations: 15.56 kB / 0.5379 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.4738, allocations: 148 kB / 0.5381 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.4739, allocations: 8.828 kB / 0.5381 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.4739, allocations: 5 kB / 0.5381 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.4739, allocations: 2.875 kB / 0.5381 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.4742, allocations: 92.06 kB / 0.5382 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.4754, allocations: 0.6839 MB / 0.5389 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.4757, allocations: 121.4 kB / 0.539 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.4758, allocations: 41.64 kB / 0.539 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.4759, allocations: 10.95 kB / 0.539 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.4759, allocations: 43.84 kB / 0.5391 GB, free: 7.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.4759, allocations: 3.938 kB / 0.5391 GB, free: 7.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001654/0.4776, allocations: 0.5503 MB / 0.5396 GB, free: 7.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.4777, allocations: 83.23 kB / 0.5397 GB, free: 7.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.4791, allocations: 0.9068 MB / 0.5406 GB, free: 6.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.4791, allocations: 27.05 kB / 0.5406 GB, free: 6.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.4794, allocations: 260.3 kB / 0.5408 GB, free: 6.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.098e-05/0.4795, allocations: 58.27 kB / 0.5409 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.4795, allocations: 34.52 kB / 0.5409 GB, free: 6.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.4798, allocations: 375.6 kB / 0.5413 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.48, allocations: 67.48 kB / 0.5414 GB, free: 5.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.4802, allocations: 77.48 kB / 0.5414 GB, free: 5.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.4806, allocations: 156.2 kB / 0.5416 GB, free: 5.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4806, allocations: 7.938 kB / 0.5416 GB, free: 5.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005899/0.4812, allocations: 247.9 kB / 0.5418 GB, free: 5.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4812, allocations: 5.781 kB / 0.5418 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4812, allocations: 0 / 0.5418 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.4813, allocations: 1.281 kB / 0.5418 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.4815, allocations: 43.69 kB / 0.5419 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.4815, allocations: 6.203 kB / 0.5419 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.4816, allocations: 14.23 kB / 0.5419 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.4817, allocations: 8.703 kB / 0.5419 GB, free: 5.574 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002637/0.4819, allocations: 216.3 kB / 0.5421 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.4821, allocations: 56.91 kB / 0.5422 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006856/0.4828, allocations: 291.7 kB / 0.5424 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.4828, allocations: 2.375 kB / 0.5424 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.4828, allocations: 0 / 0.5424 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4828, allocations: 1.406 kB / 0.5424 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.4841, allocations: 0.805 MB / 0.5432 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4841, allocations: 5.062 kB / 0.5432 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.4843, allocations: 35.91 kB / 0.5433 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.4843, allocations: 5.031 kB / 0.5433 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.4843, allocations: 10.3 kB / 0.5433 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.4843, allocations: 5.344 kB / 0.5433 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4843, allocations: 0 / 0.5433 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.485, allocations: 424.8 kB / 0.5437 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.4851, allocations: 140.7 kB / 0.5438 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.4852, allocations: 1.344 kB / 0.5438 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.4854, allocations: 17.8 kB / 0.5438 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.4854, allocations: 10.83 kB / 0.5439 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.4855, allocations: 8.562 kB / 0.5439 GB, free: 4.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008277/0.4863, allocations: 0.6603 MB / 0.5445 GB, free: 3.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4863, allocations: 4 kB / 0.5445 GB, free: 3.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003855/0.4867, allocations: 59.94 kB / 0.5446 GB, free: 3.473 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 (16): * Single equations (assignments): 16 * 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.001102/0.4878, allocations: 389 kB / 0.5449 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004641/0.4883, allocations: 163.8 kB / 0.5451 GB, free: 3.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.4883, allocations: 4 kB / 0.5451 GB, free: 3.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.4885, allocations: 91.88 kB / 0.5452 GB, free: 2.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/0.4891, allocations: 84.34 kB / 0.5453 GB, free: 2.891 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.4906, allocations: 0.9574 MB / 0.5462 GB, free: 1.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.491, allocations: 0.8758 MB / 0.5471 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002066/0.4913, allocations: 87.83 kB / 0.5471 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.4914, allocations: 43.42 kB / 0.5472 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4914, allocations: 0 / 0.5472 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of Templates: time 0.009775/0.5011, allocations: 4.118 MB / 0.5512 GB, free: 12.76 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches