Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001748/0.001748, allocations: 103.6 kB / 21.19 MB, free: 0.6445 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.002467/0.002467, allocations: 217.1 kB / 24.49 MB, free: 3.949 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.547/1.547, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2362/0.2362, allocations: 46.96 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 64.09 kB / 0.4973 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3858, allocations: 66.05 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.00333/0.3892, allocations: 1.637 MB / 0.5634 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3904, allocations: 0.5622 MB / 0.564 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.3905, allocations: 7.938 kB / 0.564 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007563/0.3912, allocations: 451.1 kB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005033/0.3917, allocations: 303.2 kB / 0.5647 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.3924, allocations: 171.1 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.3927, allocations: 179.6 kB / 0.5651 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3928, allocations: 19.98 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.3929, allocations: 119.7 kB / 0.5652 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.3932, allocations: 247.5 kB / 0.5654 GB, free: 484 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3932, allocations: 4 kB / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.3933, allocations: 43.97 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.3935, allocations: 83.69 kB / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.054e-05/0.3936, allocations: 67.25 kB / 0.5656 GB, free: 284 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.3939, allocations: 280.9 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3939, allocations: 0 / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3939, allocations: 0 / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3939, allocations: 0 / 0.5659 GB, free: 8 kB / 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.0008188/0.3948, allocations: 0.5893 MB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3948, allocations: 8.031 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.479e-05/0.3949, allocations: 48.61 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.3952, allocations: 246.8 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3952, allocations: 4.375 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.3952, allocations: 4.375 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.3954, allocations: 69.73 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3954, allocations: 0 / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3954, allocations: 0 / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3955, allocations: 0 / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.3956, allocations: 43.91 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.3962, allocations: 348.4 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.3964, allocations: 42.5 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.122e-05/0.3965, allocations: 28.94 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.3965, allocations: 0 / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.3966, allocations: 42.48 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3966, allocations: 0 / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000895/0.3975, allocations: 320.5 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.3975, allocations: 51.41 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009181/0.3984, allocations: 0.8691 MB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.3985, allocations: 25.7 kB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.3987, allocations: 212.1 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.3987, allocations: 23.78 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.3987, allocations: 21.72 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.3989, allocations: 366.7 kB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3991, allocations: 35.97 kB / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3992, allocations: 39.97 kB / 0.5692 GB, free: 12.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.3994, allocations: 96.84 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3994, allocations: 0 / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003227/0.3997, allocations: 157.2 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3998, allocations: 14.66 kB / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3998, allocations: 3.984 kB / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3998, allocations: 0 / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3999, allocations: 23.98 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3999, allocations: 0 / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.4, allocations: 11.98 kB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.4, allocations: 4 kB / 0.5695 GB, free: 12.12 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.0002093/0.4002, allocations: 213.7 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.4003, allocations: 47.72 kB / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.4008, allocations: 181.7 kB / 0.5699 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.4008, allocations: 4 kB / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4008, allocations: 0 / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.4008, allocations: 0 / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008911/0.4017, allocations: 458.1 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4017, allocations: 4 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.727e-05/0.4018, allocations: 23.92 kB / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4018, allocations: 3.938 kB / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.4018, allocations: 4 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4018, allocations: 7.922 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4018, allocations: 3.938 kB / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.4022, allocations: 255.2 kB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.4023, allocations: 36 kB / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.4024, allocations: 8 kB / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.4025, allocations: 7.984 kB / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.4025, allocations: 11.92 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.4025, allocations: 3.984 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007403/0.4033, allocations: 0.655 MB / 0.5714 GB, free: 10.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4033, allocations: 0 / 0.5714 GB, free: 10.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.4035, allocations: 20 kB / 0.5714 GB, free: 10.13 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.001607/0.4051, allocations: 440 kB / 0.5718 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.4054, allocations: 91.86 kB / 0.5719 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4054, allocations: 0 / 0.5719 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.4056, allocations: 47.84 kB / 0.5719 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.406, allocations: 30.17 kB / 0.572 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.4076, allocations: 0.8785 MB / 0.5728 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.4079, allocations: 224.1 kB / 0.573 GB, free: 8.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.408, allocations: 15.44 kB / 0.573 GB, free: 8.547 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.408, allocations: 0 / 0.573 GB, free: 8.547 MB / 414.1 MB Notification: Performance of Templates: time 0.009021/0.417, allocations: 4.078 MB / 0.577 GB, free: 4.461 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 7.973937723989366]