Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 118.2 kB / 17.79 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.00129/0.00129, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, 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.2497/0.2497, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 75.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4742, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.004069/0.4783, allocations: 1.67 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.4807, allocations: 1.166 MB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.073e-05/0.4808, allocations: 1.375 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.4811, allocations: 27.97 kB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.4815, allocations: 85.69 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.4819, allocations: 137.4 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.4821, allocations: 68.7 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.4823, allocations: 20.23 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/0.4824, allocations: 38.78 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.4826, allocations: 30.84 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.4826, allocations: 5.5 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.4828, allocations: 99.67 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.781e-05/0.4829, allocations: 21.02 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.4829, allocations: 25.69 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.4833, allocations: 148.2 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4833, allocations: 0 / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4833, allocations: 5.281 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.4833, allocations: 0 / 0.5345 GB, free: 10.95 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.0007775/0.4841, allocations: 408.3 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.4842, allocations: 8.5 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.4842, allocations: 9.141 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.4845, allocations: 196.7 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.4845, allocations: 5.609 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.4846, allocations: 10.97 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.4848, allocations: 81.69 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4848, allocations: 0 / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4848, allocations: 0 / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.4849, allocations: 2.031 kB / 0.5352 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.485, allocations: 35.53 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.4855, allocations: 295.3 kB / 0.5355 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.4857, allocations: 43.78 kB / 0.5355 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.4858, allocations: 28.25 kB / 0.5355 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.4858, allocations: 0 / 0.5355 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.4859, allocations: 31.78 kB / 0.5356 GB, free: 9.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4859, allocations: 3.938 kB / 0.5356 GB, free: 9.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009321/0.4868, allocations: 216 kB / 0.5358 GB, free: 9.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.742e-05/0.4869, allocations: 82.23 kB / 0.5359 GB, free: 9.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.4871, allocations: 147.4 kB / 0.536 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.4871, allocations: 26.73 kB / 0.536 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.4872, allocations: 98.88 kB / 0.5361 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.4873, allocations: 30.75 kB / 0.5361 GB, free: 9.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.4873, allocations: 23.39 kB / 0.5362 GB, free: 9.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.4876, allocations: 316.9 kB / 0.5365 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.4877, allocations: 30.59 kB / 0.5365 GB, free: 8.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.4878, allocations: 51.75 kB / 0.5365 GB, free: 8.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.4881, allocations: 72.8 kB / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.4881, allocations: 0 / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002946/0.4884, allocations: 122.7 kB / 0.5367 GB, free: 8.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.4884, allocations: 4.938 kB / 0.5367 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4884, allocations: 4.031 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4884, allocations: 1.062 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.4886, allocations: 19.08 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.4886, allocations: 0 / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.4887, allocations: 14.55 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.4887, allocations: 5.25 kB / 0.5368 GB, free: 8.77 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.0001011/0.4888, allocations: 119.2 kB / 0.5369 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.4888, allocations: 11.67 kB / 0.5369 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004036/0.4892, allocations: 124.2 kB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4893, allocations: 1.125 kB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4893, allocations: 3.938 kB / 0.537 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.4893, allocations: 3.938 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.4898, allocations: 396.4 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4898, allocations: 0 / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-05/0.4899, allocations: 22.39 kB / 0.5374 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.49, allocations: 1.062 kB / 0.5374 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.49, allocations: 4.969 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.49, allocations: 0 / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.49, allocations: 1.062 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.4903, allocations: 214.4 kB / 0.5376 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.4904, allocations: 83.38 kB / 0.5377 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.4904, allocations: 7.938 kB / 0.5377 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.657e-05/0.4905, allocations: 10.39 kB / 0.5377 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.4906, allocations: 6.422 kB / 0.5377 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/0.4906, allocations: 2.438 kB / 0.5377 GB, free: 7.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.4907, allocations: 116.5 kB / 0.5379 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4907, allocations: 0 / 0.5379 GB, free: 7.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.4911, allocations: 42.7 kB / 0.5379 GB, free: 7.762 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.001365/0.4925, allocations: 499.1 kB / 0.5384 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.4928, allocations: 75.44 kB / 0.5384 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4929, allocations: 0 / 0.5384 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.493, allocations: 45.59 kB / 0.5385 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.4935, allocations: 34.19 kB / 0.5385 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.494, allocations: 204.3 kB / 0.5387 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.4944, allocations: 0.6953 MB / 0.5394 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.39e-05/0.4945, allocations: 20.66 kB / 0.5394 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.4945, allocations: 15.47 kB / 0.5394 GB, free: 6.539 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4945, allocations: 0 / 0.5394 GB, free: 6.539 MB / 398.1 MB Notification: Performance of Templates: time 0.005286/0.4998, allocations: 1.899 MB / 0.5413 GB, free: 5.547 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches