Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001351/0.001351, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00226/0.003611, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001496/0.001496, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001689/0.003185, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.104/1.104, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1059/1.209, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.3187/0.3187, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0489/0.3676, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.463e-05, allocations: 5.859 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002769/0.002794, allocations: 2.139 MB / 292.8 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.004553, allocations: 1.407 MB / 294.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.004685, allocations: 7.938 kB / 294.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.004908, allocations: 59.44 kB / 294.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003861/0.005294, allocations: 238.8 kB / 294.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009107/0.006205, allocations: 0.6171 MB / 295.1 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.006625, allocations: 358.8 kB / 295.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.006793, allocations: 59.59 kB / 295.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/0.007175, allocations: 259.8 kB / 295.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.007394, allocations: 171.5 kB / 295.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.007426, allocations: 12 kB / 295.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.007589, allocations: 67.86 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.007727, allocations: 147.5 kB / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.961e-05/0.007796, allocations: 67.62 kB / 296.2 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.008154, allocations: 314.7 kB / 296.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.602e-05/0.00817, allocations: 0 / 296.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008171, allocations: 3.938 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.008187, allocations: 0 / 296.5 MB, free: 2.387 MB / 282.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.0008529/0.00904, allocations: 0.7708 MB / 297.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.009076, allocations: 8.031 kB / 297.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002906/0.009366, allocations: 150 kB / 297.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.009731, allocations: 346.5 kB / 297.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.009745, allocations: 8.234 kB / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.009774, allocations: 16.36 kB / 297.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.009966, allocations: 124.5 kB / 297.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.009979, allocations: 7.891 kB / 297.9 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.00999, allocations: 4 kB / 297.9 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.009995, allocations: 4 kB / 297.9 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.692e-05/0.01005, allocations: 32.78 kB / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.01053, allocations: 382.9 kB / 298.3 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.01066, allocations: 81.06 kB / 298.4 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.0107, allocations: 29.95 kB / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.01072, allocations: 4 kB / 298.5 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.01075, allocations: 34.56 kB / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.01075, allocations: 0 / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007198/0.01147, allocations: 285 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.01152, allocations: 85.11 kB / 298.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.01193, allocations: 0.5875 MB / 299.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.01195, allocations: 25.7 kB / 299.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.01203, allocations: 170.3 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.01208, allocations: 71.31 kB / 299.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.01213, allocations: 37.69 kB / 299.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.01225, allocations: 378.9 kB / 300.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.0123, allocations: 15.98 kB / 300.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.675e-05/0.01234, allocations: 37.64 kB / 300.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.01244, allocations: 88.53 kB / 300.2 MB, free: 14.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01244, allocations: 4 kB / 300.2 MB, free: 14.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001581/0.0126, allocations: 117.6 kB / 300.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.01262, allocations: 7.984 kB / 300.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.01263, allocations: 3.938 kB / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-06/0.01264, allocations: 4 kB / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.01279, allocations: 55.89 kB / 300.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.0128, allocations: 4 kB / 300.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.264e-05/0.01286, allocations: 11.98 kB / 300.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.01287, allocations: 4 kB / 300.5 MB, free: 14.23 MB / 298.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 (20): * Single equations (assignments): 20 * 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.0001041/0.01297, allocations: 124.7 kB / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.01303, allocations: 35.97 kB / 300.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.01329, allocations: 183.2 kB / 300.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.0133, allocations: 4 kB / 300.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.0133, allocations: 0 / 300.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01331, allocations: 0 / 300.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.01386, allocations: 0.5019 MB / 301.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.01387, allocations: 3.938 kB / 301.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.01401, allocations: 51.95 kB / 301.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.01406, allocations: 59.61 kB / 301.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01406, allocations: 0 / 301.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01407, allocations: 3.984 kB / 301.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.01408, allocations: 7.938 kB / 301.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01408, allocations: 0 / 301.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.01431, allocations: 302.6 kB / 301.7 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.01434, allocations: 4 kB / 301.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.01443, allocations: 11.98 kB / 301.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.01449, allocations: 15.97 kB / 301.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.0145, allocations: 11.98 kB / 301.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002295/0.01473, allocations: 303.4 kB / 302.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01473, allocations: 0 / 302.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002165/0.01495, allocations: 67.94 kB / 302.1 MB, free: 12.49 MB / 298.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 (20): * Single equations (assignments): 20 * 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.001344/0.01629, allocations: 0.5505 MB / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.01646, allocations: 79.16 kB / 302.7 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.01648, allocations: 8 kB / 302.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.971e-05/0.01654, allocations: 60.69 kB / 302.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.01689, allocations: 125.3 kB / 302.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.01849, allocations: 0.8302 MB / 303.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.612e-05/0.01859, allocations: 153.7 kB / 303.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.01872, allocations: 71.22 kB / 304 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.01888, allocations: 107.3 kB / 304.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of SimCode: time 1.453e-06/0.01888, allocations: 0 / 304.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of Templates: time 0.007711/0.02659, allocations: 4.883 MB / 309 MB, free: 5.973 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.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.1533094001933932]