Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 230.3 MB / 258 MB, free: 8.223 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2311/0.2311, allocations: 46.93 MB / 361.4 MB, free: 4.402 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002494/0.002494, allocations: 79.86 kB / 0.4972 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3925, allocations: 66.04 MB / 0.5617 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003743/0.3962, allocations: 2.06 MB / 0.5637 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3981, allocations: 1.041 MB / 0.5647 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.3983, allocations: 3.938 kB / 0.5647 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.3988, allocations: 255.2 kB / 0.5649 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005665/0.3993, allocations: 267.1 kB / 0.5652 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.4005, allocations: 488.7 kB / 0.5657 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004635/0.4009, allocations: 342.8 kB / 0.566 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.4011, allocations: 56.53 kB / 0.566 GB, free: 16 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.4013, allocations: 151.3 kB / 0.5662 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.4016, allocations: 227.2 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.4017, allocations: 12 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.4019, allocations: 103.8 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.402, allocations: 91.67 kB / 0.5666 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.4021, allocations: 119 kB / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.4027, allocations: 341.1 kB / 0.567 GB, free: 14.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4027, allocations: 4 kB / 0.567 GB, free: 14.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4027, allocations: 0 / 0.567 GB, free: 14.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.4027, allocations: 3.938 kB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009488/0.4036, allocations: 0.5971 MB / 0.5676 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4037, allocations: 12.03 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.402e-05/0.4037, allocations: 40.66 kB / 0.5677 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.4041, allocations: 256.7 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.4041, allocations: 8.375 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.4042, allocations: 12.38 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.4044, allocations: 107 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.4044, allocations: 4.188 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.4045, allocations: 7.938 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4045, allocations: 3.938 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.4046, allocations: 79.83 kB / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006996/0.4053, allocations: 451.5 kB / 0.5686 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.4055, allocations: 94.47 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.102e-05/0.4056, allocations: 32.84 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.4056, allocations: 4 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.4056, allocations: 30.56 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.4056, allocations: 0 / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009752/0.4066, allocations: 398.9 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.4067, allocations: 59.31 kB / 0.5692 GB, free: 12.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006829/0.4074, allocations: 0.5565 MB / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.4074, allocations: 29.7 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.4076, allocations: 204.4 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/0.4076, allocations: 63.45 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.4077, allocations: 29.72 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000253/0.4079, allocations: 358.8 kB / 0.5704 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.4081, allocations: 47.97 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.4082, allocations: 55.92 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.4084, allocations: 123.3 kB / 0.5706 GB, free: 11.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4084, allocations: 0 / 0.5706 GB, free: 11.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003655/0.4088, allocations: 197.2 kB / 0.5708 GB, free: 10.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4088, allocations: 4 kB / 0.5708 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4088, allocations: 3.938 kB / 0.5708 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.4088, allocations: 11.98 kB / 0.5708 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.409, allocations: 39.91 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.409, allocations: 4 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.4091, allocations: 4 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.4091, allocations: 11.98 kB / 0.5708 GB, free: 10.9 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 (17): * Single equations (assignments): 17 * 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.0001894/0.4093, allocations: 169.8 kB / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-05/0.4094, allocations: 47.66 kB / 0.5711 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.4099, allocations: 247.4 kB / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4099, allocations: 0 / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4099, allocations: 0 / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.4099, allocations: 7.984 kB / 0.5713 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008816/0.4107, allocations: 0.5871 MB / 0.5719 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4108, allocations: 3.938 kB / 0.5719 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.4109, allocations: 35.98 kB / 0.5719 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4109, allocations: 4 kB / 0.5719 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.4109, allocations: 0 / 0.5719 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4109, allocations: 4 kB / 0.5719 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4109, allocations: 0 / 0.5719 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.4114, allocations: 310 kB / 0.5722 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.4115, allocations: 31.77 kB / 0.5722 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.4115, allocations: 0 / 0.5722 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.965e-05/0.4116, allocations: 12 kB / 0.5723 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.4116, allocations: 11.97 kB / 0.5723 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.4116, allocations: 11.94 kB / 0.5723 GB, free: 9.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000468/0.4121, allocations: 415.1 kB / 0.5727 GB, free: 8.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4121, allocations: 4 kB / 0.5727 GB, free: 8.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.4124, allocations: 47.92 kB / 0.5727 GB, free: 8.902 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 (17): * Single equations (assignments): 17 * 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.002738/0.4152, allocations: 0.6994 MB / 0.5734 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003815/0.4155, allocations: 126.2 kB / 0.5735 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4155, allocations: 3.938 kB / 0.5735 GB, free: 8.352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.4157, allocations: 67.91 kB / 0.5736 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.4162, allocations: 76.38 kB / 0.5737 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.4175, allocations: 0.6892 MB / 0.5743 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.418, allocations: 0.8181 MB / 0.5751 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.4181, allocations: 49.91 kB / 0.5752 GB, free: 6.609 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.4182, allocations: 35.42 kB / 0.5752 GB, free: 6.578 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4182, allocations: 0 / 0.5752 GB, free: 6.578 MB / 414.1 MB Notification: Performance of Templates: time 0.008118/0.4263, allocations: 3.358 MB / 0.5785 GB, free: 3.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.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.300158421508968]