Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.0009014/0.0009014, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001196/0.002098, allocations: 447.8 kB / 10.35 MB, free: 348 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.001432/0.001432, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.002889, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9088/0.9088, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1886/1.097, allocations: 49.5 MB / 220.5 MB, free: 5.27 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.1339/0.1339, allocations: 32.35 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0269/0.1608, allocations: 12.29 MB / 265.9 MB, free: 7.828 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.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.729e-05, allocations: 6.25 kB / 267.3 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003824/0.003851, allocations: 1.774 MB / 269.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.005009, allocations: 0.8036 MB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.945e-05/0.005079, allocations: 0 / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.005339, allocations: 63.62 kB / 269.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.005487, allocations: 63.69 kB / 270 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.005693, allocations: 87.69 kB / 270.1 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.00586, allocations: 95.66 kB / 270.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.005964, allocations: 8.219 kB / 270.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.006092, allocations: 71.83 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.006222, allocations: 23.92 kB / 270.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.006246, allocations: 4 kB / 270.3 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.006347, allocations: 51.84 kB / 270.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.006403, allocations: 23.86 kB / 270.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.006451, allocations: 19.94 kB / 270.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.006634, allocations: 103.6 kB / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.667e-05/0.006651, allocations: 0 / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.006652, allocations: 0 / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.006669, allocations: 0 / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005369/0.007206, allocations: 367.6 kB / 270.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.007246, allocations: 12.03 kB / 270.8 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.007282, allocations: 4.938 kB / 270.9 MB, free: 2.836 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.007475, allocations: 153.5 kB / 271 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.007497, allocations: 8.359 kB / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.007517, allocations: 384 / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.007656, allocations: 65.77 kB / 271.1 MB, free: 2.578 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.007667, allocations: 7.938 kB / 271.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.007675, allocations: 0 / 271.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.00768, allocations: 0 / 271.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.692e-05/0.007707, allocations: 4 kB / 271.1 MB, free: 2.566 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.007939, allocations: 173.8 kB / 271.3 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.008057, allocations: 89.28 kB / 271.3 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.00808, allocations: 20.91 kB / 271.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.008093, allocations: 4 kB / 271.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.008203, allocations: 66.16 kB / 271.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.008205, allocations: 0 / 271.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002876/0.008492, allocations: 113.5 kB / 271.5 MB, free: 2.059 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.008525, allocations: 51.41 kB / 271.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.008649, allocations: 215.6 kB / 271.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.008664, allocations: 29.7 kB / 271.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.008697, allocations: 104 kB / 271.9 MB, free: 1.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.008721, allocations: 19.84 kB / 272 MB, free: 1.609 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.008754, allocations: 25.7 kB / 272 MB, free: 1.578 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.008839, allocations: 330.8 kB / 272.3 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.008855, allocations: 14.81 kB / 272.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.008876, allocations: 17.72 kB / 272.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/0.00892, allocations: 48.56 kB / 272.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.008921, allocations: 0 / 272.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.514e-05/0.009006, allocations: 76.38 kB / 272.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.009019, allocations: 4 kB / 272.5 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.009024, allocations: 4 kB / 272.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.009033, allocations: 0 / 272.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.009099, allocations: 23.95 kB / 272.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.009103, allocations: 4 kB / 272.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.009128, allocations: 3.938 kB / 272.5 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.009134, allocations: 4 kB / 272.5 MB, free: 1.027 MB / 266.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 (10): * Single equations (assignments): 10 * 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.502e-05/0.009199, allocations: 120.7 kB / 272.6 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.00921, allocations: 11.92 kB / 272.6 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.495e-05/0.009305, allocations: 83.06 kB / 272.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.009307, allocations: 0 / 272.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.009308, allocations: 0 / 272.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.009311, allocations: 0 / 272.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.009517, allocations: 299.4 kB / 273 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.00952, allocations: 4 kB / 273 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.009548, allocations: 11.98 kB / 273 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.009559, allocations: 11.91 kB / 273 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.00956, allocations: 0 / 273 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.009566, allocations: 4 kB / 273 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.009567, allocations: 0 / 273 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.009568, allocations: 0 / 273 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.837e-05/0.009666, allocations: 227 kB / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.00968, allocations: 384 / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.009717, allocations: 8.031 kB / 273.3 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.009742, allocations: 7.984 kB / 273.3 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.009752, allocations: 11.94 kB / 273.3 MB, free: 188 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.6e-05/0.009798, allocations: 64.89 kB / 273.3 MB, free: 120 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009798, allocations: 0 / 273.3 MB, free: 120 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001425/0.00994, allocations: 27.98 kB / 273.4 MB, free: 92 kB / 266.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: 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 (9): * Single equations (assignments): 7 * 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.001288/0.01123, allocations: 0.6399 MB / 274 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.152e-05/0.01131, allocations: 40.84 kB / 274.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.01132, allocations: 3.938 kB / 274.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.808e-05/0.01135, allocations: 24.84 kB / 274.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.01152, allocations: 59.69 kB / 274.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.01198, allocations: 263 kB / 274.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.327e-05/0.01202, allocations: 75.27 kB / 274.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.016e-05/0.01206, allocations: 8.5 kB / 274.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.01212, allocations: 67.36 kB / 274.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01212, allocations: 0 / 274.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of Templates: time 0.003441/0.01556, allocations: 2.044 MB / 276.6 MB, free: 12.8 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.7817982640117407]