Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008345/0.0008345, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.001987, allocations: 452 kB / 10.43 MB, free: 264 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.0007469/0.0007469, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001775, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8782/0.8782, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1319/1.01, allocations: 49.49 MB / 220.7 MB, free: 1.371 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1254/0.1254, allocations: 32.36 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02215/0.1476, allocations: 12.32 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.521e-05, allocations: 10.19 kB / 267.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00352/0.003546, allocations: 2.004 MB / 269.4 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.004901, allocations: 1.072 MB / 270.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.005016, allocations: 4 kB / 270.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.005219, allocations: 63.38 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.005489, allocations: 167.3 kB / 270.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007916/0.00628, allocations: 0.5495 MB / 271.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.006697, allocations: 283.1 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.006825, allocations: 50.88 kB / 271.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.007083, allocations: 216 kB / 271.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.007262, allocations: 151.6 kB / 271.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.007293, allocations: 12 kB / 272 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.556e-05/0.007388, allocations: 39.94 kB / 272 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.007495, allocations: 131.5 kB / 272.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.007555, allocations: 59.69 kB / 272.2 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.007855, allocations: 278.8 kB / 272.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.444e-05/0.00787, allocations: 0 / 272.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.007871, allocations: 0 / 272.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.007883, allocations: 0 / 272.5 MB, free: 13.46 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.0006996/0.008583, allocations: 0.6964 MB / 273.1 MB, free: 12.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.008615, allocations: 8.031 kB / 273.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.008676, allocations: 36.91 kB / 273.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.009074, allocations: 313.8 kB / 273.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.009085, allocations: 4.375 kB / 273.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.009113, allocations: 12.38 kB / 273.5 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.009269, allocations: 124.4 kB / 273.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.009281, allocations: 7.891 kB / 273.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.009289, allocations: 0 / 273.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.009296, allocations: 7.984 kB / 273.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.372e-05/0.00934, allocations: 31.92 kB / 273.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.00975, allocations: 366.9 kB / 274 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.371e-05/0.009834, allocations: 65.25 kB / 274.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.009861, allocations: 29.77 kB / 274.1 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.009884, allocations: 4 kB / 274.1 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.009906, allocations: 34.56 kB / 274.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.009908, allocations: 224 / 274.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005159/0.01042, allocations: 209.2 kB / 274.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.01046, allocations: 89.05 kB / 274.5 MB, free: 11.31 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.01082, allocations: 0.5204 MB / 275 MB, free: 10.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.01084, allocations: 25.7 kB / 275 MB, free: 10.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.01091, allocations: 165.5 kB / 275.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.01096, allocations: 59.47 kB / 275.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.011, allocations: 33.69 kB / 275.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.01113, allocations: 366.7 kB / 275.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.676e-05/0.01116, allocations: 11.98 kB / 275.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.0112, allocations: 33.64 kB / 275.7 MB, free: 10.06 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.265e-05/0.01129, allocations: 60.64 kB / 275.7 MB, free: 9.992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01129, allocations: 0 / 275.7 MB, free: 9.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001301/0.01142, allocations: 113.5 kB / 275.8 MB, free: 9.875 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01143, allocations: 4 kB / 275.8 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01144, allocations: 3.938 kB / 275.8 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.01145, allocations: 0 / 275.8 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.01159, allocations: 40.72 kB / 275.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.01159, allocations: 0 / 275.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.01164, allocations: 11.92 kB / 275.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.01165, allocations: 8 kB / 275.9 MB, free: 9.809 MB / 282.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.913e-05/0.01173, allocations: 116.6 kB / 276 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.01178, allocations: 31.97 kB / 276 MB, free: 9.652 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.01198, allocations: 161.9 kB / 276.2 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01199, allocations: 0 / 276.2 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.01199, allocations: 4 kB / 276.2 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01199, allocations: 0 / 276.2 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.01243, allocations: 453.7 kB / 276.7 MB, free: 9.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.01243, allocations: 7.938 kB / 276.7 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.695e-05/0.01253, allocations: 43.91 kB / 276.7 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.01288, allocations: 51.66 kB / 276.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01288, allocations: 0 / 276.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.01289, allocations: 3.984 kB / 276.8 MB, free: 8.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01289, allocations: 0 / 276.8 MB, free: 8.906 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.0129, allocations: 7.938 kB / 276.8 MB, free: 8.898 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.01306, allocations: 274.6 kB / 277 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.01309, allocations: 4 kB / 277 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.01317, allocations: 8 kB / 277 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.01322, allocations: 15.91 kB / 277.1 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.01322, allocations: 8 kB / 277.1 MB, free: 8.578 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001941/0.01342, allocations: 263.2 kB / 277.3 MB, free: 8.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01342, allocations: 4 kB / 277.3 MB, free: 8.316 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002125/0.01363, allocations: 48 kB / 277.4 MB, free: 8.27 MB / 282.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.001139/0.01477, allocations: 0.5434 MB / 277.9 MB, free: 7.711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.01491, allocations: 68.69 kB / 278 MB, free: 7.641 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/0.01493, allocations: 12 kB / 278 MB, free: 7.629 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.66e-05/0.01498, allocations: 48.83 kB / 278 MB, free: 7.578 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.01543, allocations: 368 kB / 278.4 MB, free: 7.176 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.01672, allocations: 0.7578 MB / 279.2 MB, free: 6.383 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.667e-05/0.0168, allocations: 144.4 kB / 279.3 MB, free: 6.223 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.01691, allocations: 54.94 kB / 279.4 MB, free: 6.168 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.01703, allocations: 103.3 kB / 279.5 MB, free: 6.066 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01703, allocations: 0 / 279.5 MB, free: 6.066 MB / 282.7 MB Notification: Performance of Templates: time 0.00765/0.02468, allocations: 4.365 MB / 283.8 MB, free: 1.695 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.725073490291834]