Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001951/0.001951, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002393/0.002393, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.496/1.496, 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.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.2304/0.2304, allocations: 44.94 MB / 359.6 MB, free: 6.148 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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") [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.002455/0.002455, allocations: 67.91 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.382, allocations: 65.47 MB / 0.5582 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003806/0.3858, allocations: 1.989 MB / 0.5601 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.3882, allocations: 1.088 MB / 0.5612 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.3883, allocations: 8 kB / 0.5612 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005567/0.3889, allocations: 267.1 kB / 0.5615 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005869/0.3895, allocations: 267 kB / 0.5617 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.391, allocations: 0.6492 MB / 0.5624 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005323/0.3915, allocations: 370.8 kB / 0.5627 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.3917, allocations: 55.72 kB / 0.5628 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.3919, allocations: 143.4 kB / 0.5629 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.3922, allocations: 231.1 kB / 0.5631 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.3922, allocations: 12 kB / 0.5631 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.3924, allocations: 104 kB / 0.5632 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.3926, allocations: 103.6 kB / 0.5633 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.3927, allocations: 91.22 kB / 0.5634 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.3932, allocations: 358 kB / 0.5638 GB, free: 1.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3932, allocations: 0 / 0.5638 GB, free: 1.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3932, allocations: 0 / 0.5638 GB, free: 1.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.3932, allocations: 0 / 0.5638 GB, free: 1.805 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008565/0.3941, allocations: 0.6049 MB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3941, allocations: 11.98 kB / 0.5644 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.68e-05/0.3942, allocations: 48.61 kB / 0.5644 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.3946, allocations: 264.6 kB / 0.5647 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3946, allocations: 8.375 kB / 0.5647 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.3946, allocations: 12.38 kB / 0.5647 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.3949, allocations: 137.7 kB / 0.5648 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3949, allocations: 0 / 0.5648 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.3949, allocations: 4 kB / 0.5648 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3949, allocations: 4 kB / 0.5648 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.3951, allocations: 87.88 kB / 0.5649 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.3958, allocations: 440 kB / 0.5653 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.396, allocations: 94.53 kB / 0.5654 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3961, allocations: 44.83 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.3962, allocations: 4 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3962, allocations: 38.72 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.3962, allocations: 3.938 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001095/0.3973, allocations: 448.3 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.3973, allocations: 51.41 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006474/0.398, allocations: 0.5683 MB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.398, allocations: 25.7 kB / 0.5666 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.3982, allocations: 216.4 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.3983, allocations: 63.47 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.3983, allocations: 29.72 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3985, allocations: 358.8 kB / 0.5672 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.3987, allocations: 71.95 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.3988, allocations: 70.39 kB / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.3991, allocations: 152.7 kB / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3991, allocations: 0 / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004168/0.3995, allocations: 251.8 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3995, allocations: 8 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3995, allocations: 0 / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3995, allocations: 0 / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.3997, allocations: 31.98 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3997, allocations: 0 / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.406e-05/0.3998, allocations: 11.98 kB / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.3998, allocations: 4 kB / 0.5678 GB, free: 13.52 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.0001991/0.4, allocations: 189.7 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.4001, allocations: 43.66 kB / 0.568 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005665/0.4006, allocations: 277.5 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.4006, allocations: 3.984 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4006, allocations: 0 / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4006, allocations: 0 / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008908/0.4015, allocations: 0.5938 MB / 0.5688 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4015, allocations: 4 kB / 0.5688 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.4017, allocations: 35.92 kB / 0.5689 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4017, allocations: 0 / 0.5689 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.4017, allocations: 4 kB / 0.5689 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.4017, allocations: 7.984 kB / 0.5689 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4017, allocations: 0 / 0.5689 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.4021, allocations: 339 kB / 0.5692 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.4022, allocations: 27.77 kB / 0.5692 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.4022, allocations: 0 / 0.5692 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/0.4023, allocations: 15.98 kB / 0.5693 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.4024, allocations: 11.98 kB / 0.5693 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.4024, allocations: 8 kB / 0.5693 GB, free: 11.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005051/0.4029, allocations: 431 kB / 0.5697 GB, free: 11.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4029, allocations: 0 / 0.5697 GB, free: 11.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.4032, allocations: 51.88 kB / 0.5697 GB, free: 11.44 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.00306/0.4063, allocations: 0.758 MB / 0.5705 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000377/0.4066, allocations: 167.8 kB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4066, allocations: 0 / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.4068, allocations: 87.88 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.4074, allocations: 74.52 kB / 0.5708 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.4086, allocations: 0.7524 MB / 0.5715 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.4088, allocations: 212.2 kB / 0.5717 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.485e-05/0.4089, allocations: 31.42 kB / 0.5718 GB, free: 9.684 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4089, allocations: 0 / 0.5718 GB, free: 9.684 MB / 414.1 MB Notification: Performance of Templates: time 0.007926/0.4168, allocations: 4.932 MB / 0.5766 GB, free: 4.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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: 8.466258293949068]