Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.002291/0.002291, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002364/0.002364, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.432/1.432, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1955/0.1955, allocations: 32.81 MB / 293.5 MB, free: 44 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 440.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.733e-05, allocations: 2.281 kB / 440.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003076/0.003104, allocations: 1.71 MB / 441.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.004875, allocations: 0.9704 MB / 442.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.004943, allocations: 3.938 kB / 442.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.005254, allocations: 83.69 kB / 442.9 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.005593, allocations: 123.4 kB / 443.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.005789, allocations: 71.67 kB / 443.1 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.005992, allocations: 119.6 kB / 443.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.984e-05/0.006082, allocations: 7.984 kB / 443.3 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.006198, allocations: 67.83 kB / 443.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.006311, allocations: 55.86 kB / 443.4 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.006332, allocations: 4 kB / 443.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.006433, allocations: 47.86 kB / 443.4 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-05/0.006506, allocations: 31.84 kB / 443.5 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.006548, allocations: 19.92 kB / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.006749, allocations: 119.6 kB / 443.6 MB, free: 4.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.006752, allocations: 3.938 kB / 443.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006753, allocations: 0 / 443.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.006756, allocations: 0 / 443.6 MB, free: 4.637 MB / 366.1 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.0005561/0.007312, allocations: 365.4 kB / 444 MB, free: 4.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.007343, allocations: 8.031 kB / 444 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.007391, allocations: 24.83 kB / 444 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.007609, allocations: 145.6 kB / 444.1 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.007622, allocations: 4.375 kB / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.007645, allocations: 4.375 kB / 444.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.00779, allocations: 58.17 kB / 444.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.007803, allocations: 3.938 kB / 444.2 MB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.007811, allocations: 0 / 444.2 MB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.007815, allocations: 0 / 444.2 MB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.39e-05/0.007889, allocations: 23.98 kB / 444.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.008243, allocations: 236.6 kB / 444.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.008427, allocations: 58.61 kB / 444.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.008498, allocations: 28.78 kB / 444.5 MB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.008513, allocations: 0 / 444.5 MB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.008668, allocations: 67.39 kB / 444.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.008669, allocations: 0 / 444.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006075/0.009277, allocations: 181.3 kB / 444.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.009319, allocations: 55.41 kB / 444.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.009568, allocations: 223.5 kB / 445.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.00959, allocations: 29.7 kB / 445.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.211e-05/0.009682, allocations: 112.1 kB / 445.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.009718, allocations: 27.8 kB / 445.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.009762, allocations: 21.72 kB / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.009921, allocations: 322.8 kB / 445.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/0.009984, allocations: 27.92 kB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.01007, allocations: 37.64 kB / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.0102, allocations: 73.7 kB / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.0102, allocations: 0 / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002113/0.01041, allocations: 109.5 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.01043, allocations: 8 kB / 445.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.01043, allocations: 0 / 445.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.01044, allocations: 0 / 445.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.01053, allocations: 12.19 kB / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01054, allocations: 4 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.499e-05/0.01059, allocations: 12.25 kB / 445.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.0106, allocations: 4.031 kB / 445.8 MB, free: 2.203 MB / 366.1 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 0.0001141/0.01072, allocations: 138.9 kB / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.01074, allocations: 11.94 kB / 446 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.01101, allocations: 123.1 kB / 446.1 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01102, allocations: 3.938 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.01102, allocations: 0 / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.01102, allocations: 0 / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.01149, allocations: 362.9 kB / 446.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.0115, allocations: 3.984 kB / 446.5 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.01154, allocations: 12.03 kB / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01154, allocations: 4 kB / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.01155, allocations: 3.984 kB / 446.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01155, allocations: 0 / 446.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.01156, allocations: 4 kB / 446.5 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.01183, allocations: 216.2 kB / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.01185, allocations: 11.89 kB / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.01188, allocations: 4 kB / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.01195, allocations: 7.984 kB / 446.7 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.01199, allocations: 0 / 446.7 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.01201, allocations: 11.98 kB / 446.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.01217, allocations: 181.1 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01217, allocations: 0 / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.01245, allocations: 19.98 kB / 446.9 MB, free: 1.035 MB / 366.1 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.001774/0.01422, allocations: 0.4887 MB / 447.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.0144, allocations: 63.89 kB / 447.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01441, allocations: 0 / 447.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.886e-05/0.01449, allocations: 27.94 kB / 447.5 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.01482, allocations: 34.78 kB / 447.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.0153, allocations: 254.6 kB / 447.8 MB, free: 360 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.01541, allocations: 104.9 kB / 447.9 MB, free: 236 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.227e-05/0.01545, allocations: 8.984 kB / 447.9 MB, free: 228 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.01549, allocations: 20.48 kB / 447.9 MB, free: 208 kB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01549, allocations: 0 / 447.9 MB, free: 208 kB / 366.1 MB Notification: Performance of Templates: time 0.153/0.1685, allocations: 1.861 MB / 449.8 MB, free: 21.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.632328938692808]