Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, 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.001059/0.00106, 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.495/1.495, 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.2484/0.2484, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 80.09 kB / 481.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4696, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003622/0.4733, allocations: 1.677 MB / 0.5327 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.4745, allocations: 0.5822 MB / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.948e-05/0.4746, allocations: 1.375 kB / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007576/0.4754, allocations: 452.8 kB / 0.5337 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005679/0.476, allocations: 296.9 kB / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.4765, allocations: 182 kB / 0.5341 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.4769, allocations: 181.2 kB / 0.5343 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.477, allocations: 19.23 kB / 0.5343 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.4771, allocations: 115.4 kB / 0.5344 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.4775, allocations: 220.7 kB / 0.5346 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.4775, allocations: 4.094 kB / 0.5346 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.4777, allocations: 53.72 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.4778, allocations: 90.94 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.4779, allocations: 107.7 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.4783, allocations: 289.3 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4783, allocations: 0 / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4783, allocations: 1.125 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.4784, allocations: 4 kB / 0.5352 GB, free: 10.8 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.0008492/0.4792, allocations: 0.6667 MB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.4793, allocations: 9.219 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.827e-05/0.4794, allocations: 48.06 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.4798, allocations: 307.6 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4798, allocations: 10.73 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.4799, allocations: 2.531 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.4801, allocations: 69.77 kB / 0.5362 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.4801, allocations: 4 kB / 0.5362 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.4801, allocations: 5.125 kB / 0.5362 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.4802, allocations: 1.312 kB / 0.5362 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.4803, allocations: 40.27 kB / 0.5363 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.481, allocations: 421.6 kB / 0.5367 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.4813, allocations: 61.17 kB / 0.5367 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.967e-05/0.4814, allocations: 29.55 kB / 0.5368 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.4814, allocations: 1.062 kB / 0.5368 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.4815, allocations: 35.56 kB / 0.5368 GB, free: 9.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.4815, allocations: 3.938 kB / 0.5368 GB, free: 9.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001776/0.4833, allocations: 0.5012 MB / 0.5373 GB, free: 9.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.4833, allocations: 61.8 kB / 0.5374 GB, free: 8.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.4844, allocations: 0.8553 MB / 0.5382 GB, free: 8.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.4845, allocations: 30.55 kB / 0.5382 GB, free: 8.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.4847, allocations: 215.6 kB / 0.5384 GB, free: 8.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.4847, allocations: 37.75 kB / 0.5385 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.4848, allocations: 28.75 kB / 0.5385 GB, free: 8.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.485, allocations: 364.3 kB / 0.5388 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.4852, allocations: 57.02 kB / 0.5389 GB, free: 7.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.4853, allocations: 49.34 kB / 0.5389 GB, free: 7.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.4857, allocations: 132.1 kB / 0.5391 GB, free: 7.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4857, allocations: 0 / 0.5391 GB, free: 7.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004573/0.4861, allocations: 207.5 kB / 0.5393 GB, free: 7.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.4862, allocations: 9.688 kB / 0.5393 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4862, allocations: 0 / 0.5393 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.4862, allocations: 0 / 0.5393 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.4864, allocations: 32.84 kB / 0.5393 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4864, allocations: 5.062 kB / 0.5393 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.287e-05/0.4865, allocations: 9.688 kB / 0.5393 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.4865, allocations: 6.328 kB / 0.5393 GB, free: 7.629 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 (11): * Single equations (assignments): 11 * 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.0002844/0.4868, allocations: 221.4 kB / 0.5395 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.4869, allocations: 43.03 kB / 0.5396 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006062/0.4875, allocations: 237.5 kB / 0.5398 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4875, allocations: 5.031 kB / 0.5398 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.4875, allocations: 0 / 0.5398 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.4875, allocations: 5.141 kB / 0.5398 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.4886, allocations: 0.5947 MB / 0.5404 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4886, allocations: 4.031 kB / 0.5404 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.4887, allocations: 28.72 kB / 0.5404 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4887, allocations: 1.188 kB / 0.5404 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.4887, allocations: 2.469 kB / 0.5404 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.4888, allocations: 5 kB / 0.5404 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4888, allocations: 1.625 kB / 0.5404 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.4893, allocations: 313.9 kB / 0.5407 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.805e-05/0.4894, allocations: 111.6 kB / 0.5408 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.4894, allocations: 2.188 kB / 0.5408 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.4895, allocations: 9.328 kB / 0.5409 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.641e-05/0.4896, allocations: 12.77 kB / 0.5409 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.4896, allocations: 11.59 kB / 0.5409 GB, free: 6.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008893/0.4905, allocations: 0.6481 MB / 0.5415 GB, free: 6.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4905, allocations: 1.25 kB / 0.5415 GB, free: 6.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003194/0.4909, allocations: 33.02 kB / 0.5415 GB, free: 6.094 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001263/0.4921, allocations: 457 kB / 0.542 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.4925, allocations: 132.8 kB / 0.5421 GB, free: 5.801 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4926, allocations: 0 / 0.5421 GB, free: 5.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.4927, allocations: 67.66 kB / 0.5422 GB, free: 5.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.4932, allocations: 37.17 kB / 0.5422 GB, free: 5.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.4946, allocations: 0.8857 MB / 0.5431 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.4951, allocations: 0.8415 MB / 0.5439 GB, free: 4.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.323e-05/0.4952, allocations: 44.45 kB / 0.5439 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.4953, allocations: 19.42 kB / 0.544 GB, free: 4.207 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4953, allocations: 0 / 0.544 GB, free: 4.207 MB / 398.1 MB Notification: Performance of Templates: time 0.00613/0.5014, allocations: 1.938 MB / 0.5458 GB, free: 2.277 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches