Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 210.6 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2321/0.2321, allocations: 44.94 MB / 358.8 MB, free: 6.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 67.89 kB / 0.4935 GB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3794, allocations: 65.47 MB / 0.5575 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003456/0.3829, allocations: 1.637 MB / 0.5591 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.384, allocations: 0.5426 MB / 0.5596 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.3841, allocations: 0 / 0.5596 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.3848, allocations: 447.2 kB / 0.56 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005645/0.3853, allocations: 303.3 kB / 0.5603 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.3857, allocations: 131.1 kB / 0.5604 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.386, allocations: 175.6 kB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3861, allocations: 11.98 kB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.3862, allocations: 115.7 kB / 0.5607 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.3865, allocations: 251.5 kB / 0.561 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3865, allocations: 4 kB / 0.561 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3866, allocations: 43.92 kB / 0.561 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.3868, allocations: 79.69 kB / 0.5611 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.865e-05/0.3868, allocations: 71.23 kB / 0.5612 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.3872, allocations: 269 kB / 0.5614 GB, free: 3.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3872, allocations: 0 / 0.5614 GB, free: 3.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3872, allocations: 4 kB / 0.5614 GB, free: 3.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.3872, allocations: 0 / 0.5614 GB, free: 3.387 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.0008134/0.388, allocations: 0.5892 MB / 0.562 GB, free: 2.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3881, allocations: 12.03 kB / 0.562 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.3882, allocations: 44.61 kB / 0.562 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.3885, allocations: 242.8 kB / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3885, allocations: 8.375 kB / 0.5623 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.3885, allocations: 4.375 kB / 0.5623 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.3887, allocations: 57.8 kB / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3887, allocations: 4 kB / 0.5624 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3887, allocations: 4 kB / 0.5624 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3887, allocations: 0 / 0.5624 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.3888, allocations: 39.91 kB / 0.5624 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.3893, allocations: 328.4 kB / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3894, allocations: 38.56 kB / 0.5627 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.3895, allocations: 24.92 kB / 0.5628 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3895, allocations: 8 kB / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.3896, allocations: 30.56 kB / 0.5628 GB, free: 1.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3896, allocations: 0 / 0.5628 GB, free: 1.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008697/0.3904, allocations: 304.6 kB / 0.5631 GB, free: 1.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.3905, allocations: 63.34 kB / 0.5632 GB, free: 1.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009081/0.3914, allocations: 0.8574 MB / 0.564 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3914, allocations: 29.7 kB / 0.564 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.3916, allocations: 208.1 kB / 0.5642 GB, free: 372 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.3916, allocations: 31.73 kB / 0.5643 GB, free: 340 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.3917, allocations: 17.72 kB / 0.5643 GB, free: 316 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3919, allocations: 362.7 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.392, allocations: 31.97 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3921, allocations: 35.97 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.3923, allocations: 81.02 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3923, allocations: 0 / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003098/0.3926, allocations: 149.3 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3926, allocations: 7.938 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3926, allocations: 0 / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3927, allocations: 4 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.3928, allocations: 23.92 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3928, allocations: 3.938 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.424e-05/0.3929, allocations: 11.98 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3929, allocations: 0 / 0.5649 GB, free: 15.59 MB / 414.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.0002052/0.3931, allocations: 217.7 kB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.3931, allocations: 43.72 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/0.3935, allocations: 173.3 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3935, allocations: 0 / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3935, allocations: 0 / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3935, allocations: 3.984 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006542/0.3942, allocations: 434 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3942, allocations: 0 / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.3943, allocations: 27.97 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3943, allocations: 3.938 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.3943, allocations: 0 / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3943, allocations: 4 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3943, allocations: 3.938 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.3947, allocations: 235.2 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.3947, allocations: 35.72 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.3947, allocations: 8 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3948, allocations: 11.98 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.3949, allocations: 11.92 kB / 0.5661 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3949, allocations: 4 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006472/0.3955, allocations: 0.6511 MB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3955, allocations: 0 / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.3958, allocations: 23.98 kB / 0.5668 GB, free: 13.65 MB / 414.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.001631/0.3974, allocations: 445.1 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.3977, allocations: 87.91 kB / 0.5673 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3977, allocations: 0 / 0.5673 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.3978, allocations: 39.91 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.3983, allocations: 26.58 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.3995, allocations: 0.826 MB / 0.5681 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.3997, allocations: 224.1 kB / 0.5684 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.855e-05/0.3998, allocations: 4 kB / 0.5684 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.3998, allocations: 15.44 kB / 0.5684 GB, free: 12.14 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3998, allocations: 0 / 0.5684 GB, free: 12.14 MB / 414.1 MB Notification: Performance of Templates: time 0.005544/0.4054, allocations: 1.792 MB / 0.5701 GB, free: 10.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1725152637809515]