Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001154/0.001154, allocations: 113 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 198.8 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.6 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.2343/0.2343, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 79.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3963, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003615/0.4, allocations: 2.043 MB / 0.5337 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.4019, allocations: 1.018 MB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.799e-05/0.402, allocations: 2.75 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004856/0.4025, allocations: 260 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005581/0.4031, allocations: 261.5 kB / 0.5352 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.4042, allocations: 496.2 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.4046, allocations: 325.9 kB / 0.5359 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.4048, allocations: 68.2 kB / 0.536 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.4049, allocations: 136.5 kB / 0.5361 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.4052, allocations: 213.3 kB / 0.5363 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.4052, allocations: 11.56 kB / 0.5363 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.4054, allocations: 93.94 kB / 0.5364 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.4056, allocations: 88.92 kB / 0.5365 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.4057, allocations: 131.1 kB / 0.5366 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004692/0.4062, allocations: 340.4 kB / 0.537 GB, free: 9.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4062, allocations: 0 / 0.537 GB, free: 9.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4062, allocations: 0 / 0.537 GB, free: 9.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.4062, allocations: 1.438 kB / 0.537 GB, free: 9.77 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009646/0.4072, allocations: 0.647 MB / 0.5376 GB, free: 9.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.4072, allocations: 10.58 kB / 0.5376 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.451e-05/0.4073, allocations: 51.02 kB / 0.5377 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.4078, allocations: 323.5 kB / 0.538 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4079, allocations: 12.41 kB / 0.538 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.4079, allocations: 19.95 kB / 0.538 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.4081, allocations: 114.9 kB / 0.5381 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4082, allocations: 1.125 kB / 0.5381 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.4082, allocations: 5.219 kB / 0.5381 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.4082, allocations: 2.281 kB / 0.5381 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.4084, allocations: 70.2 kB / 0.5382 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/0.409, allocations: 482.4 kB / 0.5386 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.4092, allocations: 90.67 kB / 0.5387 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.985e-05/0.4093, allocations: 34.03 kB / 0.5388 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.4093, allocations: 9.578 kB / 0.5388 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.4094, allocations: 36.11 kB / 0.5388 GB, free: 8.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.4094, allocations: 0 / 0.5388 GB, free: 8.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.000974/0.4104, allocations: 393.6 kB / 0.5392 GB, free: 7.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.4104, allocations: 53.03 kB / 0.5392 GB, free: 7.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006355/0.4111, allocations: 0.5595 MB / 0.5398 GB, free: 7.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.4111, allocations: 26.89 kB / 0.5398 GB, free: 7.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.4113, allocations: 210 kB / 0.54 GB, free: 7.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.4113, allocations: 58.53 kB / 0.5401 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.4114, allocations: 37.23 kB / 0.5401 GB, free: 7.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4116, allocations: 351.3 kB / 0.5404 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.4117, allocations: 49.72 kB / 0.5405 GB, free: 6.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.4118, allocations: 56.38 kB / 0.5405 GB, free: 6.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.412, allocations: 115.9 kB / 0.5406 GB, free: 6.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.412, allocations: 3.938 kB / 0.5406 GB, free: 6.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003872/0.4124, allocations: 202 kB / 0.5408 GB, free: 6.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4125, allocations: 6.062 kB / 0.5408 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4125, allocations: 0 / 0.5408 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4125, allocations: 1.438 kB / 0.5408 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.4126, allocations: 34.08 kB / 0.5409 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.4127, allocations: 1.094 kB / 0.5409 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.4127, allocations: 12.33 kB / 0.5409 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.4127, allocations: 3.812 kB / 0.5409 GB, free: 6.676 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 (17): * Single equations (assignments): 17 * 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.000157/0.4129, allocations: 180.7 kB / 0.5411 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.413, allocations: 45.72 kB / 0.5411 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004438/0.4134, allocations: 236.6 kB / 0.5413 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.4134, allocations: 2.938 kB / 0.5413 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4135, allocations: 7.938 kB / 0.5413 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4135, allocations: 0 / 0.5413 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007736/0.4142, allocations: 0.6244 MB / 0.542 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4143, allocations: 0 / 0.542 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.4146, allocations: 38.06 kB / 0.542 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4146, allocations: 1.156 kB / 0.542 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.4146, allocations: 6.031 kB / 0.542 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4146, allocations: 5.062 kB / 0.542 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.4146, allocations: 3.938 kB / 0.542 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.415, allocations: 297.5 kB / 0.5423 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.4151, allocations: 104.8 kB / 0.5424 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.4152, allocations: 6.094 kB / 0.5424 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.38e-05/0.4153, allocations: 7.406 kB / 0.5424 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.4153, allocations: 14.36 kB / 0.5424 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.4154, allocations: 7.609 kB / 0.5424 GB, free: 5.457 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004352/0.4158, allocations: 424 kB / 0.5428 GB, free: 5.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4158, allocations: 1.125 kB / 0.5428 GB, free: 5.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.4161, allocations: 55.22 kB / 0.5429 GB, free: 5.223 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 (17): * Single equations (assignments): 17 * 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.001682/0.4178, allocations: 0.6823 MB / 0.5436 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.4181, allocations: 131.6 kB / 0.5437 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4181, allocations: 0 / 0.5437 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.4183, allocations: 76.75 kB / 0.5438 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/0.4188, allocations: 84.55 kB / 0.5438 GB, free: 4.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.42, allocations: 0.6944 MB / 0.5445 GB, free: 4.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.4204, allocations: 0.8055 MB / 0.5453 GB, free: 3.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.4205, allocations: 35.86 kB / 0.5453 GB, free: 3.57 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4205, allocations: 0 / 0.5453 GB, free: 3.57 MB / 398.1 MB Notification: Performance of Templates: time 0.006632/0.4271, allocations: 4.532 MB / 0.5498 GB, free: 15.11 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches