Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001366/0.001366, allocations: 103.6 kB / 21.18 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.001798/0.001798, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.5/1.5, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2547/0.2547, allocations: 44.94 MB / 359.6 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [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.002078/0.002078, allocations: 64.09 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3969, allocations: 65.48 MB / 0.5582 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00414/0.4011, allocations: 1.671 MB / 0.5598 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.4025, allocations: 0.5544 MB / 0.5604 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.4025, allocations: 0 / 0.5604 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007974/0.4033, allocations: 463.1 kB / 0.5608 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005562/0.4039, allocations: 291.3 kB / 0.5611 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.4044, allocations: 183.1 kB / 0.5613 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.4047, allocations: 175.6 kB / 0.5614 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.4048, allocations: 20.22 kB / 0.5615 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.4049, allocations: 111.7 kB / 0.5616 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.4052, allocations: 251.5 kB / 0.5618 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.4052, allocations: 4 kB / 0.5618 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.4054, allocations: 55.91 kB / 0.5619 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.4055, allocations: 87.62 kB / 0.562 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.412e-05/0.4056, allocations: 67.25 kB / 0.562 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.406, allocations: 292.9 kB / 0.5623 GB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.406, allocations: 0 / 0.5623 GB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.406, allocations: 0 / 0.5623 GB, free: 3.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.406, allocations: 0 / 0.5623 GB, free: 3.27 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.000932/0.4069, allocations: 0.5932 MB / 0.5629 GB, free: 2.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4069, allocations: 8.031 kB / 0.5629 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.272e-05/0.407, allocations: 52.55 kB / 0.5629 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.4073, allocations: 242.8 kB / 0.5632 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.4073, allocations: 384 / 0.5632 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.4074, allocations: 8.375 kB / 0.5632 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.4075, allocations: 61.8 kB / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4076, allocations: 0 / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.4076, allocations: 4 kB / 0.5632 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4076, allocations: 0 / 0.5632 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.4077, allocations: 39.91 kB / 0.5633 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.4083, allocations: 348.3 kB / 0.5636 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.4084, allocations: 46.59 kB / 0.5637 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.4084, allocations: 20.94 kB / 0.5637 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.4085, allocations: 0 / 0.5637 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.4085, allocations: 34.56 kB / 0.5637 GB, free: 1.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.4085, allocations: 0 / 0.5637 GB, free: 1.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001033/0.4095, allocations: 328.5 kB / 0.564 GB, free: 1.387 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.4096, allocations: 51.41 kB / 0.5641 GB, free: 1.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009671/0.4106, allocations: 0.869 MB / 0.5649 GB, free: 452 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.4106, allocations: 29.7 kB / 0.5649 GB, free: 416 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.4108, allocations: 220 kB / 0.5652 GB, free: 192 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.4108, allocations: 19.8 kB / 0.5652 GB, free: 172 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.4109, allocations: 29.7 kB / 0.5652 GB, free: 136 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.4111, allocations: 362.8 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.302e-05/0.4112, allocations: 35.91 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.4113, allocations: 27.98 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.4114, allocations: 80.8 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4114, allocations: 0 / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002752/0.4117, allocations: 145.3 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4117, allocations: 12 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4117, allocations: 0 / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4118, allocations: 4.359 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.4119, allocations: 19.92 kB / 0.5659 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.4119, allocations: 3.938 kB / 0.5659 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.844e-05/0.4119, allocations: 7.984 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.412, allocations: 4 kB / 0.5659 GB, free: 15.43 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 (8): * Single equations (assignments): 8 * 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.0002324/0.4122, allocations: 209.8 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.4123, allocations: 43.72 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.4127, allocations: 181.7 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4127, allocations: 4 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4127, allocations: 3.938 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4127, allocations: 3.984 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007007/0.4134, allocations: 466.8 kB / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4134, allocations: 0 / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.4135, allocations: 20.02 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.4135, allocations: 3.938 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.4135, allocations: 8 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4135, allocations: 0 / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4135, allocations: 0 / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.4138, allocations: 248 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.4139, allocations: 35.72 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.4139, allocations: 11.92 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.668e-05/0.414, allocations: 4 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.4141, allocations: 19.92 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.4141, allocations: 4 kB / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007698/0.4149, allocations: 0.6472 MB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4149, allocations: 0 / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.4151, allocations: 35.92 kB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001845/0.417, allocations: 481.3 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.4172, allocations: 83.81 kB / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4172, allocations: 0 / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.814e-05/0.4173, allocations: 35.97 kB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.4178, allocations: 21.97 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.4191, allocations: 0.8754 MB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.4195, allocations: 228.1 kB / 0.5694 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.4195, allocations: 19.42 kB / 0.5694 GB, free: 11.85 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4195, allocations: 0 / 0.5694 GB, free: 11.85 MB / 414.1 MB Notification: Performance of Templates: time 0.00857/0.4281, allocations: 4.179 MB / 0.5735 GB, free: 7.664 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.983789869118482]