Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 109.8 kB / 21.1 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 191.8 kB / 24.36 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 253.1 MB, free: 13.04 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.2213/0.2213, allocations: 44.92 MB / 353.2 MB, free: 11.82 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.91 kB / 497.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3828, allocations: 64.29 MB / 0.5484 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003596/0.3864, allocations: 1.997 MB / 0.5504 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.3886, allocations: 1.149 MB / 0.5515 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.3887, allocations: 3 kB / 0.5515 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.389, allocations: 45.89 kB / 0.5516 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.3894, allocations: 152.8 kB / 0.5517 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.3909, allocations: 0.5952 MB / 0.5523 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.3914, allocations: 289 kB / 0.5526 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.3916, allocations: 52.91 kB / 0.5526 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.3919, allocations: 126.2 kB / 0.5527 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003572/0.3922, allocations: 196.8 kB / 0.5529 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.858e-05/0.3923, allocations: 11.16 kB / 0.5529 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.3925, allocations: 60.91 kB / 0.553 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.3928, allocations: 146.7 kB / 0.5531 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.393, allocations: 156.6 kB / 0.5533 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005926/0.3935, allocations: 371.8 kB / 0.5536 GB, free: 9.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3936, allocations: 1.281 kB / 0.5536 GB, free: 9.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3936, allocations: 0 / 0.5536 GB, free: 9.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.3936, allocations: 0 / 0.5536 GB, free: 9.281 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001195/0.3948, allocations: 0.6993 MB / 0.5543 GB, free: 8.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3948, allocations: 9.734 kB / 0.5543 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.3949, allocations: 55.81 kB / 0.5544 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006444/0.3956, allocations: 392.2 kB / 0.5548 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.3956, allocations: 8.703 kB / 0.5548 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.3956, allocations: 14.41 kB / 0.5548 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.396, allocations: 145.2 kB / 0.5549 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.396, allocations: 5.156 kB / 0.5549 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.396, allocations: 1.188 kB / 0.5549 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.396, allocations: 2.312 kB / 0.5549 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.3963, allocations: 107.7 kB / 0.555 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.3975, allocations: 0.6407 MB / 0.5557 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.3978, allocations: 114.1 kB / 0.5558 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3979, allocations: 44.34 kB / 0.5558 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.3979, allocations: 2.25 kB / 0.5558 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.398, allocations: 39.66 kB / 0.5558 GB, free: 7.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.398, allocations: 4 kB / 0.5558 GB, free: 7.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001617/0.3996, allocations: 0.5392 MB / 0.5564 GB, free: 7.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.3997, allocations: 81.11 kB / 0.5565 GB, free: 7.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.4007, allocations: 0.8584 MB / 0.5573 GB, free: 6.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.4007, allocations: 25.7 kB / 0.5573 GB, free: 6.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.401, allocations: 248.3 kB / 0.5576 GB, free: 5.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/0.401, allocations: 55.48 kB / 0.5576 GB, free: 5.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.4011, allocations: 33.7 kB / 0.5576 GB, free: 5.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.4013, allocations: 374.7 kB / 0.558 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.4015, allocations: 68.02 kB / 0.5581 GB, free: 5.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.4017, allocations: 85.59 kB / 0.5581 GB, free: 5.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.4021, allocations: 161.8 kB / 0.5583 GB, free: 5.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4021, allocations: 0 / 0.5583 GB, free: 5.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005261/0.4026, allocations: 237.2 kB / 0.5585 GB, free: 4.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.4026, allocations: 8 kB / 0.5585 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4026, allocations: 3.938 kB / 0.5585 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4026, allocations: 0 / 0.5585 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.4029, allocations: 39.97 kB / 0.5586 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.4029, allocations: 0 / 0.5586 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.403, allocations: 12.2 kB / 0.5586 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.403, allocations: 4 kB / 0.5586 GB, free: 4.797 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002414/0.4033, allocations: 233.5 kB / 0.5588 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.4034, allocations: 59.62 kB / 0.5589 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006619/0.404, allocations: 282.1 kB / 0.5591 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4041, allocations: 4 kB / 0.5591 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4041, allocations: 4 kB / 0.5591 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4041, allocations: 0 / 0.5591 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.4053, allocations: 0.7659 MB / 0.5599 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4053, allocations: 0 / 0.5599 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.4055, allocations: 39.91 kB / 0.5599 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4055, allocations: 0 / 0.5599 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.4055, allocations: 8 kB / 0.5599 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.4055, allocations: 7.938 kB / 0.5599 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4055, allocations: 0 / 0.5599 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.4061, allocations: 413.7 kB / 0.5603 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.4062, allocations: 63.66 kB / 0.5604 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.4063, allocations: 4 kB / 0.5604 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.4065, allocations: 15.92 kB / 0.5604 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.4065, allocations: 15.97 kB / 0.5604 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.4065, allocations: 11.94 kB / 0.5604 GB, free: 2.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007756/0.4073, allocations: 0.6237 MB / 0.5611 GB, free: 2.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4073, allocations: 0 / 0.5611 GB, free: 2.191 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003755/0.4077, allocations: 55.94 kB / 0.5611 GB, free: 2.137 MB / 398.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 (16): * Single equations (assignments): 16 * 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.001506/0.4092, allocations: 402.7 kB / 0.5615 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000487/0.4097, allocations: 159.8 kB / 0.5616 GB, free: 1.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4097, allocations: 0 / 0.5616 GB, free: 1.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.4099, allocations: 83.89 kB / 0.5617 GB, free: 1.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.4106, allocations: 82.06 kB / 0.5618 GB, free: 1.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.4121, allocations: 0.9146 MB / 0.5627 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.4127, allocations: 0.8692 MB / 0.5635 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000189/0.4129, allocations: 78.86 kB / 0.5636 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.413, allocations: 31.44 kB / 0.5636 GB, free: 15.63 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.413, allocations: 0 / 0.5636 GB, free: 15.63 MB / 414.1 MB Notification: Performance of Templates: time 0.009767/0.4227, allocations: 4.126 MB / 0.5677 GB, free: 11.53 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.213316773995757]