Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.001322/0.001322, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001165/0.001165, allocations: 165.7 kB / 24.84 MB, free: 8.711 MB / 18.57 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 1.054/1.054, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.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.2028/0.2028, allocations: 32.38 MB / 271.5 MB, free: 14.4 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.023e-05, allocations: 2.312 kB / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002434/0.002464, allocations: 1.732 MB / 350.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003477, allocations: 0.7881 MB / 351.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.675e-05/0.003564, allocations: 0 / 351.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.003886, allocations: 39.77 kB / 351.5 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.004133, allocations: 63.69 kB / 351.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.004349, allocations: 87.69 kB / 351.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.004498, allocations: 95.64 kB / 351.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.00459, allocations: 8.234 kB / 351.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.402e-05/0.004674, allocations: 51.81 kB / 351.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.004746, allocations: 23.92 kB / 351.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.004766, allocations: 4 kB / 351.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.64e-05/0.004853, allocations: 47.91 kB / 351.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.004904, allocations: 31.86 kB / 352 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.00494, allocations: 19.94 kB / 352 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.005103, allocations: 95.59 kB / 352.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005106, allocations: 0 / 352.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005107, allocations: 0 / 352.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.005112, allocations: 0 / 352.1 MB, free: 5.988 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003975/0.005509, allocations: 451.8 kB / 352.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.005544, allocations: 8.031 kB / 352.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.005583, allocations: 16.84 kB / 352.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.005716, allocations: 157.8 kB / 352.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.005733, allocations: 384 / 352.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.005757, allocations: 8.375 kB / 352.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.005862, allocations: 62.88 kB / 352.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.005873, allocations: 3.938 kB / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.005881, allocations: 3.984 kB / 352.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.005886, allocations: 0 / 352.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.005911, allocations: 12 kB / 352.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.006135, allocations: 256.4 kB / 353 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.209e-05/0.006227, allocations: 59.08 kB / 353.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.006248, allocations: 15.67 kB / 353.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.006261, allocations: 4 kB / 353.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.006362, allocations: 68.98 kB / 353.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.006363, allocations: 0 / 353.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003523/0.006715, allocations: 133.5 kB / 353.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.006746, allocations: 59.39 kB / 353.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.006855, allocations: 223.9 kB / 353.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.006869, allocations: 29.7 kB / 353.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.006924, allocations: 154.8 kB / 353.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.006959, allocations: 31.77 kB / 353.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.006991, allocations: 23.38 kB / 353.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.007074, allocations: 0.504 MB / 354.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.286e-05/0.007097, allocations: 7.984 kB / 354.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.411e-05/0.007131, allocations: 31.31 kB / 354.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.441e-05/0.007186, allocations: 43.34 kB / 354.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.007187, allocations: 0 / 354.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001181/0.007305, allocations: 97.53 kB / 354.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.00732, allocations: 4 kB / 354.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.007327, allocations: 0 / 354.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.007341, allocations: 4 kB / 354.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.007421, allocations: 20.02 kB / 354.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.007425, allocations: 0 / 354.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.007457, allocations: 8 kB / 354.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.007463, allocations: 0 / 354.5 MB, free: 3.312 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 (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.279e-05/0.007526, allocations: 160.5 kB / 354.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.007546, allocations: 27.81 kB / 354.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.007688, allocations: 95.08 kB / 354.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.007692, allocations: 0 / 354.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.007694, allocations: 0 / 354.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.0077, allocations: 3.984 kB / 354.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.007976, allocations: 369.5 kB / 355.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.007978, allocations: 384 / 355.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.008008, allocations: 8 kB / 355.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.008011, allocations: 0 / 355.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.00802, allocations: 8 kB / 355.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.008022, allocations: 3.984 kB / 355.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.008024, allocations: 0 / 355.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.008139, allocations: 259.4 kB / 355.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.008152, allocations: 11.91 kB / 355.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.00817, allocations: 0 / 355.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.195e-05/0.008222, allocations: 8.031 kB / 355.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.008256, allocations: 7.984 kB / 355.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.008277, allocations: 4 kB / 355.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.796e-05/0.008335, allocations: 159.8 kB / 355.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008335, allocations: 0 / 355.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.00855, allocations: 27.92 kB / 355.7 MB, free: 2.102 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: 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.001016/0.009567, allocations: 440.4 kB / 356.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.009716, allocations: 55.58 kB / 356.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.009719, allocations: 4.062 kB / 356.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.641e-05/0.009756, allocations: 31.61 kB / 356.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.01002, allocations: 31.81 kB / 356.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.01039, allocations: 213.1 kB / 356.4 MB, free: 1.398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.272e-05/0.01042, allocations: 75.27 kB / 356.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.841e-05/0.01046, allocations: 16.48 kB / 356.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.034e-05/0.01052, allocations: 94.19 kB / 356.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01052, allocations: 0 / 356.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of Templates: time 0.003996/0.01452, allocations: 2.028 MB / 358.6 MB, free: 15.18 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.3750408277846873]