Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.001004/0.001004, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001263/0.001263, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.026/1.026, allocations: 158.6 MB / 185.9 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.1471/0.1471, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.847e-05, allocations: 8.219 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.0025/0.002528, allocations: 1.722 MB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.003796, allocations: 0.792 MB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.003913, allocations: 0 / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.00424, allocations: 39.77 kB / 350.8 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.004479, allocations: 55.69 kB / 350.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.004721, allocations: 87.64 kB / 350.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.004871, allocations: 99.69 kB / 351 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.004977, allocations: 8.219 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.00507, allocations: 47.84 kB / 351 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.586e-05/0.005156, allocations: 27.91 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.005176, allocations: 8 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.859e-05/0.005265, allocations: 39.92 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.005321, allocations: 23.86 kB / 351.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.005362, allocations: 19.92 kB / 351.2 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.005544, allocations: 95.59 kB / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.005547, allocations: 0 / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.005548, allocations: 0 / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.005553, allocations: 0 / 351.3 MB, free: 6.016 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.0004461/0.005999, allocations: 436 kB / 351.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.006039, allocations: 12.03 kB / 351.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.006076, allocations: 20.83 kB / 351.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.006202, allocations: 144.3 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.006219, allocations: 8.359 kB / 351.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.006237, allocations: 4.375 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.006349, allocations: 62.88 kB / 351.9 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.006362, allocations: 7.922 kB / 351.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.006369, allocations: 0 / 351.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.006375, allocations: 4 kB / 351.9 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.588e-05/0.006401, allocations: 7.984 kB / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.006634, allocations: 252.4 kB / 352.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.965e-05/0.006723, allocations: 59.05 kB / 352.3 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.006744, allocations: 23.67 kB / 352.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.006762, allocations: 0 / 352.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.148e-05/0.006853, allocations: 68.98 kB / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/0.006855, allocations: 0 / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003186/0.007174, allocations: 133.5 kB / 352.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.007195, allocations: 51.41 kB / 352.5 MB, free: 4.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.298e-05/0.007278, allocations: 218.9 kB / 352.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.007287, allocations: 25.7 kB / 352.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.007323, allocations: 158.8 kB / 352.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.007353, allocations: 27.78 kB / 352.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.007387, allocations: 31.36 kB / 353 MB, free: 4.113 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.00745, allocations: 0.5001 MB / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.007469, allocations: 4 kB / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.117e-05/0.0075, allocations: 35.3 kB / 353.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.007547, allocations: 43.36 kB / 353.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.007548, allocations: 0 / 353.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001005/0.007648, allocations: 89.58 kB / 353.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.007667, allocations: 8.031 kB / 353.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.007674, allocations: 80 / 353.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.007693, allocations: 4 kB / 353.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.007782, allocations: 12 kB / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.007788, allocations: 3.984 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.007829, allocations: 7.984 kB / 353.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.007835, allocations: 0 / 353.7 MB, free: 3.375 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 7.453e-05/0.007909, allocations: 164.5 kB / 353.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.007926, allocations: 19.84 kB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.008074, allocations: 102.4 kB / 354 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.008078, allocations: 0 / 354 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.008079, allocations: 0 / 354 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.008082, allocations: 0 / 354 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.008294, allocations: 357.6 kB / 354.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.008297, allocations: 0 / 354.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.008324, allocations: 15.98 kB / 354.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.008327, allocations: 384 / 354.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.008333, allocations: 4 kB / 354.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.008338, allocations: 8 kB / 354.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.00834, allocations: 3.938 kB / 354.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.008448, allocations: 255.4 kB / 354.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.008459, allocations: 7.953 kB / 354.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.008475, allocations: 0 / 354.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.008517, allocations: 11.98 kB / 354.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.00854, allocations: 4 kB / 354.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.008554, allocations: 3.984 kB / 354.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.208e-05/0.008596, allocations: 155.2 kB / 354.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008596, allocations: 0 / 354.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.008767, allocations: 27.92 kB / 354.8 MB, free: 2.18 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.0008874/0.009654, allocations: 441 kB / 355.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.009755, allocations: 55.58 kB / 355.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.009757, allocations: 3.938 kB / 355.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.009787, allocations: 23.83 kB / 355.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.01003, allocations: 39.97 kB / 355.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.01036, allocations: 205.4 kB / 355.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.784e-05/0.0104, allocations: 71.47 kB / 355.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.892e-05/0.01044, allocations: 16.48 kB / 355.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.0105, allocations: 86.19 kB / 355.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of SimCode: time 1.443e-06/0.01051, allocations: 0 / 355.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of Templates: time 0.004281/0.01479, allocations: 2.009 MB / 357.7 MB, free: 15.3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.098407916724682]