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.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.001309/0.001309, allocations: 81.97 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001408/0.001408, allocations: 163.7 kB / 25.61 MB, free: 8.539 MB / 18.57 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 0.9403/0.9403, allocations: 177.2 MB / 206.1 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] 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.1425/0.1425, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|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.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|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 1.673e-06/1.673e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.848e-05, allocations: 6.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002646/0.002675, allocations: 2.003 MB / 379.3 MB, free: 23.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.004405, allocations: 1.332 MB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.004578, allocations: 7.938 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.004841, allocations: 63.42 kB / 380.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.005282, allocations: 211 kB / 380.9 MB, free: 21.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009292/0.006211, allocations: 0.5885 MB / 381.5 MB, free: 21.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.006538, allocations: 331 kB / 381.8 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.006674, allocations: 44.91 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.006929, allocations: 175.5 kB / 382 MB, free: 20.81 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.007108, allocations: 179.6 kB / 382.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.007135, allocations: 12 kB / 382.2 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.007258, allocations: 67.84 kB / 382.3 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.007366, allocations: 151.5 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.007431, allocations: 83.64 kB / 382.5 MB, free: 20.33 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.007715, allocations: 314.6 kB / 382.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007718, allocations: 0 / 382.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007719, allocations: 0 / 382.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.007725, allocations: 4 kB / 382.8 MB, free: 20.02 MB / 314.7 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.000609/0.008334, allocations: 0.8172 MB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.008366, allocations: 15.98 kB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.008566, allocations: 84.53 kB / 383.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.008853, allocations: 332.5 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.008865, allocations: 8.375 kB / 384.1 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.008888, allocations: 12.38 kB / 384.1 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.009034, allocations: 118.2 kB / 384.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.009046, allocations: 7.938 kB / 384.2 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.009059, allocations: 8 kB / 384.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.009065, allocations: 0 / 384.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.521e-05/0.00912, allocations: 31.91 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.009615, allocations: 0.569 MB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.009721, allocations: 90.16 kB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.009752, allocations: 31.48 kB / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.009771, allocations: 4 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.009788, allocations: 33.61 kB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.00979, allocations: 4 kB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006236/0.01041, allocations: 264.7 kB / 385.2 MB, free: 17.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.01044, allocations: 85.11 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.01086, allocations: 0.6273 MB / 385.9 MB, free: 16.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.01088, allocations: 33.64 kB / 386 MB, free: 16.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.01102, allocations: 330.9 kB / 386.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.01106, allocations: 59.47 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.01111, allocations: 39.34 kB / 386.4 MB, free: 16.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.01121, allocations: 0.5585 MB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.01124, allocations: 15.98 kB / 387 MB, free: 15.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.792e-05/0.01129, allocations: 50.28 kB / 387 MB, free: 15.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.01138, allocations: 64.25 kB / 387.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.01138, allocations: 0 / 387.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001899/0.01157, allocations: 157.2 kB / 387.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01158, allocations: 7.938 kB / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.01159, allocations: 0 / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.0116, allocations: 4 kB / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.01172, allocations: 39.91 kB / 387.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.01172, allocations: 4 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.879e-05/0.01179, allocations: 11.98 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.0118, allocations: 7.984 kB / 387.3 MB, free: 15.27 MB / 314.7 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 7.625e-05/0.01188, allocations: 160.6 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-05/0.01196, allocations: 63.62 kB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.01221, allocations: 170.5 kB / 387.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.01221, allocations: 4 kB / 387.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.01222, allocations: 0 / 387.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01222, allocations: 3.984 kB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.01277, allocations: 0.6414 MB / 388.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01278, allocations: 4 kB / 388.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.01288, allocations: 39.91 kB / 388.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.01288, allocations: 0 / 388.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.01289, allocations: 4 kB / 388.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.0129, allocations: 0 / 388.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.0129, allocations: 3.938 kB / 388.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.01312, allocations: 430.6 kB / 388.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.01317, allocations: 51.61 kB / 388.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.0132, allocations: 4 kB / 388.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.01332, allocations: 7.984 kB / 388.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.01337, allocations: 19.98 kB / 388.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.01338, allocations: 3.984 kB / 388.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002382/0.01361, allocations: 406.6 kB / 389.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01362, allocations: 0 / 389.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.01393, allocations: 51.94 kB / 389.3 MB, free: 13.16 MB / 314.7 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.0008677/0.0148, allocations: 380.2 kB / 389.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.01495, allocations: 74.66 kB / 389.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01495, allocations: 0 / 389.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.01501, allocations: 47.59 kB / 389.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.01547, allocations: 86.12 kB / 389.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009473/0.01642, allocations: 0.7871 MB / 390.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.611e-05/0.01651, allocations: 140.5 kB / 390.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000126/0.01663, allocations: 54.92 kB / 390.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.01677, allocations: 130.2 kB / 391 MB, free: 11.56 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01677, allocations: 0 / 391 MB, free: 11.56 MB / 314.7 MB Notification: Performance of Templates: time 0.007556/0.02433, allocations: 4.591 MB / 395.6 MB, free: 7.016 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3756247484125197]