Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001321/0.001321, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009964/0.0009964, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.9445/0.9445, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.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.2617/0.2617, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.231e-05, allocations: 2.969 kB / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003998/0.00403, allocations: 1.721 MB / 327 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.005848, allocations: 0.9904 MB / 328 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.923e-05/0.005948, allocations: 0 / 328 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.006314, allocations: 51.75 kB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.006719, allocations: 107.5 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.006976, allocations: 67.69 kB / 328.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.007196, allocations: 111.5 kB / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.007242, allocations: 4.234 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.007363, allocations: 51.84 kB / 328.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.007484, allocations: 31.89 kB / 328.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.007503, allocations: 7.938 kB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.685e-05/0.00759, allocations: 27.98 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.00765, allocations: 27.92 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.00769, allocations: 20.38 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.007894, allocations: 103.6 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.007897, allocations: 0 / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007899, allocations: 0 / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.007903, allocations: 0 / 328.6 MB, free: 4.273 MB / 298.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.0004765/0.008379, allocations: 345.4 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.008418, allocations: 12.03 kB / 329 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.008459, allocations: 8.922 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.008683, allocations: 162.4 kB / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.008704, allocations: 4.375 kB / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.008718, allocations: 4.375 kB / 329.2 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.008857, allocations: 57.77 kB / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.008868, allocations: 3.938 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.008876, allocations: 0 / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.008883, allocations: 0 / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.825e-05/0.008911, allocations: 7.984 kB / 329.2 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.009121, allocations: 74.7 kB / 329.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.009242, allocations: 37.38 kB / 329.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.009272, allocations: 20.83 kB / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.009285, allocations: 4 kB / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.009393, allocations: 58.2 kB / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.833e-06/0.009395, allocations: 0 / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001448/0.009539, allocations: 61.62 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.009577, allocations: 59.33 kB / 329.5 MB, free: 3.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.009753, allocations: 216 kB / 329.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.009771, allocations: 29.7 kB / 329.8 MB, free: 2.988 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.009808, allocations: 92.11 kB / 329.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.009841, allocations: 15.89 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.00988, allocations: 21.7 kB / 329.9 MB, free: 2.852 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.009985, allocations: 326.8 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.01001, allocations: 6.828 kB / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.891e-05/0.01004, allocations: 21.7 kB / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.576e-05/0.0101, allocations: 39.28 kB / 330.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.0101, allocations: 4 kB / 330.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.951e-05/0.0102, allocations: 60.52 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.01021, allocations: 7.984 kB / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01022, allocations: 0 / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.01023, allocations: 3.938 kB / 330.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.01032, allocations: 16.19 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.01032, allocations: 4 kB / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.01036, allocations: 4 kB / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.01037, allocations: 4 kB / 330.4 MB, free: 2.332 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: 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 8.771e-05/0.01046, allocations: 119.2 kB / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.01048, allocations: 12.03 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.01061, allocations: 70.77 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.01061, allocations: 0 / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01061, allocations: 3.938 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01062, allocations: 7.922 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.01073, allocations: 85.86 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01073, allocations: 0 / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/0.01076, allocations: 4 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.01076, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.01077, allocations: 7.984 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01077, allocations: 4 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01078, allocations: 0 / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.01088, allocations: 86.7 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.01091, allocations: 19.91 kB / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.01093, allocations: 0 / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.01096, allocations: 0 / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.01099, allocations: 7.984 kB / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.011, allocations: 4 kB / 330.8 MB, free: 1.855 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.325e-05/0.0111, allocations: 88.64 kB / 330.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0111, allocations: 0 / 330.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.0113, allocations: 16 kB / 330.9 MB, free: 1.75 MB / 298.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.001789/0.01309, allocations: 0.5023 MB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.0132, allocations: 32.84 kB / 331.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.01321, allocations: 4 kB / 331.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/0.01325, allocations: 20.73 kB / 331.5 MB, free: 1.445 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.01344, allocations: 33.56 kB / 331.5 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.01392, allocations: 235.2 kB / 331.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.311e-05/0.01397, allocations: 79.39 kB / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.855e-05/0.01402, allocations: 16.47 kB / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/0.0141, allocations: 59.38 kB / 331.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0141, allocations: 0 / 331.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of Templates: time 0.005162/0.01926, allocations: 1.796 MB / 333.7 MB, free: 15.22 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.8527821390889585]