Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 210 kB / 19.41 MB, free: 3.652 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 / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 79.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3779, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.00336/0.3813, allocations: 1.645 MB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3824, allocations: 0.6884 MB / 0.5339 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.3824, allocations: 1.375 kB / 0.5339 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.3827, allocations: 31.56 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.3829, allocations: 40.33 kB / 0.534 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.639e-06/0.383, allocations: 0 / 0.534 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.3832, allocations: 31.44 kB / 0.534 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.3832, allocations: 7.547 kB / 0.534 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.578e-05/0.3833, allocations: 11.75 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.3833, allocations: 15.8 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.3834, allocations: 0.9688 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.03e-05/0.3834, allocations: 14.64 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.3835, allocations: 16.78 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.3835, allocations: 19.72 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.3837, allocations: 64.98 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3837, allocations: 0 / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3837, allocations: 1.062 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.3837, allocations: 0 / 0.5342 GB, free: 11.62 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.0004132/0.3841, allocations: 374.7 kB / 0.5345 GB, free: 11.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3842, allocations: 8.969 kB / 0.5346 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.3842, allocations: 19.05 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.3844, allocations: 171.8 kB / 0.5347 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3844, allocations: 1.438 kB / 0.5347 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.3844, allocations: 2.688 kB / 0.5347 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.3846, allocations: 123.2 kB / 0.5349 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3846, allocations: 1.344 kB / 0.5349 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.3846, allocations: 7.922 kB / 0.5349 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/0.3847, allocations: 24.05 kB / 0.5349 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.863e-05/0.3848, allocations: 43.16 kB / 0.5349 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.3854, allocations: 0.8944 MB / 0.5358 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.814e-05/0.3855, allocations: 169.2 kB / 0.536 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.3856, allocations: 81.33 kB / 0.536 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.3856, allocations: 83.22 kB / 0.5361 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.3856, allocations: 107 kB / 0.5362 GB, free: 9.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3856, allocations: 0 / 0.5362 GB, free: 9.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.301e-05/0.3857, allocations: 37.94 kB / 0.5363 GB, free: 9.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.3858, allocations: 126.7 kB / 0.5364 GB, free: 9.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.386, allocations: 193.9 kB / 0.5366 GB, free: 9.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.386, allocations: 29.7 kB / 0.5366 GB, free: 9.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.3861, allocations: 147.4 kB / 0.5367 GB, free: 8.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.3861, allocations: 6.672 kB / 0.5367 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.3862, allocations: 39.72 kB / 0.5368 GB, free: 8.949 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3863, allocations: 322.5 kB / 0.5371 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.971e-05/0.3864, allocations: 34.72 kB / 0.5371 GB, free: 8.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.3865, allocations: 152.7 kB / 0.5373 GB, free: 8.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.3867, allocations: 211.6 kB / 0.5375 GB, free: 8.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3867, allocations: 1.375 kB / 0.5375 GB, free: 8.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002918/0.387, allocations: 197.3 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.387, allocations: 6.875 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3871, allocations: 4.125 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3871, allocations: 6.875 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3872, allocations: 36.8 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.3872, allocations: 17.45 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.378e-05/0.3873, allocations: 27.75 kB / 0.5378 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3873, allocations: 10.59 kB / 0.5378 GB, free: 8.055 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.0001276/0.3875, allocations: 218 kB / 0.538 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.971e-05/0.3876, allocations: 116.2 kB / 0.5381 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.568e-05/0.3876, allocations: 118 kB / 0.5382 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.464e-05/0.3877, allocations: 177.1 kB / 0.5384 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.619e-05/0.3878, allocations: 189.5 kB / 0.5385 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.158e-05/0.3878, allocations: 185.4 kB / 0.5387 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.3881, allocations: 424.9 kB / 0.5391 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-05/0.3881, allocations: 113.9 kB / 0.5392 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.3882, allocations: 102.4 kB / 0.5393 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.338e-05/0.3882, allocations: 180.2 kB / 0.5395 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.215e-05/0.3883, allocations: 181.2 kB / 0.5397 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.915e-05/0.3885, allocations: 177.4 kB / 0.5398 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.387e-05/0.3885, allocations: 185.3 kB / 0.54 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.3887, allocations: 310.4 kB / 0.5403 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.3888, allocations: 188.2 kB / 0.5405 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3889, allocations: 193.6 kB / 0.5407 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.389, allocations: 106.1 kB / 0.5408 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.3891, allocations: 177.4 kB / 0.541 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.3891, allocations: 106 kB / 0.5411 GB, free: 4.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.3892, allocations: 129.9 kB / 0.5412 GB, free: 4.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3892, allocations: 0 / 0.5412 GB, free: 4.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.3895, allocations: 15.88 kB / 0.5412 GB, free: 4.41 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.0005151/0.3901, allocations: 266.4 kB / 0.5414 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.3902, allocations: 76 kB / 0.5415 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3902, allocations: 0 / 0.5415 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.3902, allocations: 0 / 0.5415 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.3906, allocations: 467.4 kB / 0.542 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.391, allocations: 279.3 kB / 0.5422 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.3914, allocations: 0.7074 MB / 0.5429 GB, free: 2.746 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.3915, allocations: 19.12 kB / 0.5429 GB, free: 2.734 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3915, allocations: 0 / 0.5429 GB, free: 2.734 MB / 398.1 MB Notification: Performance of Templates: time 0.00361/0.3952, allocations: 1.309 MB / 0.5442 GB, free: 2.07 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches