Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, 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.2374/0.2374, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4867/0.4883, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003348/0.4917, allocations: 1.649 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009811/0.4927, allocations: 0.6843 MB / 0.5333 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.4928, allocations: 0 / 0.5333 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.4931, allocations: 36.08 kB / 0.5333 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.4933, allocations: 36.78 kB / 0.5333 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.017e-06/0.4933, allocations: 5.5 kB / 0.5333 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.4935, allocations: 30.05 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.4936, allocations: 7.938 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.639e-05/0.4936, allocations: 11.8 kB / 0.5334 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.4937, allocations: 19.08 kB / 0.5334 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.4937, allocations: 1.312 kB / 0.5334 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.606e-05/0.4938, allocations: 7.656 kB / 0.5334 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.4938, allocations: 23.34 kB / 0.5334 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.4939, allocations: 20.28 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.494, allocations: 68.42 kB / 0.5335 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.494, allocations: 1.094 kB / 0.5335 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.494, allocations: 0 / 0.5335 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4941, allocations: 0 / 0.5335 GB, free: 11.6 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004328/0.4945, allocations: 366.8 kB / 0.5339 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.4945, allocations: 9.25 kB / 0.5339 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.4946, allocations: 11.72 kB / 0.5339 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.4947, allocations: 174.9 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.4948, allocations: 1.844 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.4948, allocations: 1.781 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.495, allocations: 127.7 kB / 0.5342 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.495, allocations: 1.406 kB / 0.5342 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.495, allocations: 9.172 kB / 0.5342 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/0.4951, allocations: 22.27 kB / 0.5342 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.426e-05/0.4952, allocations: 48.78 kB / 0.5343 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007309/0.4959, allocations: 0.8895 MB / 0.5351 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.496, allocations: 178.3 kB / 0.5353 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.4961, allocations: 80.14 kB / 0.5354 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.4961, allocations: 79.22 kB / 0.5355 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.923e-05/0.4962, allocations: 107 kB / 0.5356 GB, free: 9.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4962, allocations: 0 / 0.5356 GB, free: 9.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.568e-05/0.4963, allocations: 42.14 kB / 0.5356 GB, free: 9.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.4964, allocations: 127.8 kB / 0.5357 GB, free: 9.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.4966, allocations: 189 kB / 0.5359 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.4966, allocations: 25.7 kB / 0.5359 GB, free: 9.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.4967, allocations: 152.1 kB / 0.5361 GB, free: 8.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-06/0.4967, allocations: 1.438 kB / 0.5361 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.4968, allocations: 43.7 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4969, allocations: 322.6 kB / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.55e-05/0.497, allocations: 37.81 kB / 0.5365 GB, free: 8.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.4971, allocations: 156.9 kB / 0.5366 GB, free: 8.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.4974, allocations: 202.3 kB / 0.5368 GB, free: 8.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4974, allocations: 1.375 kB / 0.5368 GB, free: 8.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003206/0.4977, allocations: 206.4 kB / 0.537 GB, free: 8.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4977, allocations: 6.875 kB / 0.537 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4977, allocations: 4.75 kB / 0.537 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.4978, allocations: 5.5 kB / 0.537 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.4979, allocations: 40.8 kB / 0.5371 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.4979, allocations: 6.875 kB / 0.5371 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.47e-05/0.498, allocations: 27.5 kB / 0.5371 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.498, allocations: 9.594 kB / 0.5371 GB, free: 8.047 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.00015/0.4982, allocations: 214 kB / 0.5373 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/0.4983, allocations: 117 kB / 0.5374 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.4984, allocations: 122.2 kB / 0.5375 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.75e-05/0.4984, allocations: 181.2 kB / 0.5377 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.637e-05/0.4985, allocations: 185.3 kB / 0.5379 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.616e-05/0.4986, allocations: 177.5 kB / 0.538 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.4988, allocations: 428.1 kB / 0.5385 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-05/0.4989, allocations: 110 kB / 0.5386 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.4989, allocations: 106 kB / 0.5387 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-05/0.499, allocations: 185.2 kB / 0.5388 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.86e-05/0.4991, allocations: 177.3 kB / 0.539 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.361e-05/0.4992, allocations: 181.7 kB / 0.5392 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.889e-05/0.4993, allocations: 177.5 kB / 0.5394 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.4994, allocations: 317.5 kB / 0.5397 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/0.4995, allocations: 189.2 kB / 0.5398 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.741e-05/0.4996, allocations: 185.4 kB / 0.54 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.735e-05/0.4997, allocations: 102.1 kB / 0.5401 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.4998, allocations: 181.4 kB / 0.5403 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.4998, allocations: 112.9 kB / 0.5404 GB, free: 4.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.4999, allocations: 125.7 kB / 0.5405 GB, free: 4.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4999, allocations: 0 / 0.5405 GB, free: 4.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00028/0.5002, allocations: 15.78 kB / 0.5405 GB, free: 4.406 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 (0): * Single equations (assignments): 0 * 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.0006193/0.5008, allocations: 280 kB / 0.5408 GB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.501, allocations: 78.66 kB / 0.5409 GB, free: 4.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.501, allocations: 0 / 0.5409 GB, free: 4.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.501, allocations: 1.125 kB / 0.5409 GB, free: 4.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.5014, allocations: 462.2 kB / 0.5413 GB, free: 3.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.5018, allocations: 257.2 kB / 0.5416 GB, free: 3.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.5021, allocations: 0.7029 MB / 0.5422 GB, free: 2.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.5023, allocations: 49.95 kB / 0.5423 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.5024, allocations: 14.09 kB / 0.5423 GB, free: 2.727 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.5024, allocations: 1.219 kB / 0.5423 GB, free: 2.727 MB / 398.1 MB Notification: Performance of Templates: time 0.003478/0.5059, allocations: 0.734 MB / 0.543 GB, free: 2.359 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches