Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001135/0.001135, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001563/0.002699, 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.0011/0.0011, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.002509, 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 0.9658/0.9658, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09015/1.056, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2924/0.2924, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02459/0.317, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.157e-05, allocations: 3.078 kB / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00304/0.003061, allocations: 1.766 MB / 294.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.004719, allocations: 1.014 MB / 295.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.004787, allocations: 0 / 295.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.00499, allocations: 55.73 kB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.005208, allocations: 115.4 kB / 295.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.005345, allocations: 75.66 kB / 295.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.00549, allocations: 107.6 kB / 295.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.005526, allocations: 8.234 kB / 295.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.005652, allocations: 87.73 kB / 295.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.005737, allocations: 39.89 kB / 296 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.00575, allocations: 4 kB / 296 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.487e-05/0.005815, allocations: 31.98 kB / 296 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.005857, allocations: 15.92 kB / 296 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.005888, allocations: 15.94 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.006033, allocations: 91.56 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.599e-05/0.006049, allocations: 0 / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00605, allocations: 0 / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.006068, allocations: 0 / 296.1 MB, free: 2.785 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004499/0.006518, allocations: 325.2 kB / 296.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.006551, allocations: 12.03 kB / 296.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.00658, allocations: 4.938 kB / 296.5 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.006729, allocations: 146.3 kB / 296.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.006744, allocations: 4.375 kB / 296.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.006751, allocations: 384 / 296.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.006868, allocations: 61.7 kB / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.006876, allocations: 3.938 kB / 296.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.006882, allocations: 0 / 296.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.006887, allocations: 0 / 296.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.2e-05/0.006909, allocations: 12 kB / 296.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.382e-05/0.006992, allocations: 78.58 kB / 296.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.289e-05/0.007065, allocations: 37.42 kB / 296.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.007082, allocations: 12.86 kB / 296.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.007092, allocations: 0 / 296.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.172e-05/0.007184, allocations: 74.08 kB / 296.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.007185, allocations: 0 / 296.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001064/0.007291, allocations: 57.86 kB / 296.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.00732, allocations: 63.34 kB / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.007419, allocations: 169.3 kB / 297.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.007434, allocations: 33.7 kB / 297.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.007463, allocations: 92.11 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.007487, allocations: 11.89 kB / 297.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.007515, allocations: 25.7 kB / 297.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.274e-05/0.007588, allocations: 330.7 kB / 297.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.007602, allocations: 6.828 kB / 297.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.716e-05/0.007619, allocations: 13.72 kB / 297.7 MB, free: 1.078 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.007654, allocations: 35.34 kB / 297.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.007656, allocations: 8 kB / 297.7 MB, free: 1.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.635e-05/0.007713, allocations: 64.44 kB / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.007722, allocations: 4 kB / 297.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.007726, allocations: 0 / 297.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/0.007733, allocations: 0 / 297.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.00779, allocations: 19.92 kB / 297.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.007792, allocations: 0 / 297.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.007816, allocations: 4 kB / 297.8 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.007821, allocations: 0 / 297.8 MB, free: 0.9297 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.001e-05/0.007881, allocations: 120.6 kB / 297.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-06/0.007891, allocations: 11.98 kB / 297.9 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.213e-05/0.007973, allocations: 58.83 kB / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.007975, allocations: 4 kB / 298 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.00798, allocations: 3.938 kB / 298 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.007983, allocations: 0 / 298 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.536e-05/0.008068, allocations: 77.88 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.008071, allocations: 0 / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.008095, allocations: 12 kB / 298.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.00811, allocations: 11.88 kB / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.008111, allocations: 4 kB / 298.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.008117, allocations: 4.188 kB / 298.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.00812, allocations: 4 kB / 298.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.008123, allocations: 3.938 kB / 298.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.531e-05/0.008198, allocations: 90.62 kB / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.008212, allocations: 8 kB / 298.2 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.008232, allocations: 0 / 298.2 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.008253, allocations: 7.984 kB / 298.2 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.008267, allocations: 0 / 298.2 MB, free: 472 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.168e-05/0.008309, allocations: 59.58 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008309, allocations: 0 / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001096/0.008418, allocations: 15.95 kB / 298.3 MB, free: 392 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001321/0.009739, allocations: 0.558 MB / 298.8 MB, free: 128 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.68e-05/0.009816, allocations: 36.78 kB / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.009825, allocations: 4 kB / 298.9 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.475e-05/0.009849, allocations: 12.86 kB / 298.9 MB, free: 68 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.009987, allocations: 34.41 kB / 298.9 MB, free: 36 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.01046, allocations: 202.8 kB / 299.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.086e-05/0.0105, allocations: 63.34 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.118e-05/0.01053, allocations: 12.48 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.262e-05/0.01059, allocations: 67.34 kB / 299.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of SimCode: time 1.432e-06/0.01059, allocations: 0 / 299.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of Templates: time 0.003438/0.01403, allocations: 1.801 MB / 301.1 MB, free: 13.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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: 2.891786376014352]