Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.001046/0.001046, allocations: 81.95 kB / 21.44 MB, free: 3.055 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.001278/0.001278, allocations: 162.9 kB / 24.84 MB, free: 9.293 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.187/1.187, 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.1657/0.1657, allocations: 32.38 MB / 271.5 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.305e-05, allocations: 4.281 kB / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003532/0.003565, allocations: 1.859 MB / 350.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.005094, allocations: 0.8815 MB / 351.7 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.005231, allocations: 0 / 351.7 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.005697, allocations: 159.5 kB / 351.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.006108, allocations: 143.4 kB / 352 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.006528, allocations: 151.5 kB / 352.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.006846, allocations: 219.3 kB / 352.4 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.006963, allocations: 17.8 kB / 352.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.007163, allocations: 123.6 kB / 352.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.007328, allocations: 119.7 kB / 352.6 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.007354, allocations: 11.98 kB / 352.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.007462, allocations: 39.98 kB / 352.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.962e-05/0.007541, allocations: 55.78 kB / 352.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.557e-05/0.007607, allocations: 39.84 kB / 352.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.007884, allocations: 159.3 kB / 352.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.007889, allocations: 0 / 352.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.00789, allocations: 0 / 352.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.007896, allocations: 0 / 352.9 MB, free: 5.113 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005825/0.008479, allocations: 0.5537 MB / 353.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.008523, allocations: 16.02 kB / 353.5 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/0.008591, allocations: 24.8 kB / 353.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.008832, allocations: 199.6 kB / 353.7 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.008856, allocations: 12.3 kB / 353.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.00888, allocations: 8.375 kB / 353.8 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.009065, allocations: 102.3 kB / 353.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.00908, allocations: 3.938 kB / 353.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.009091, allocations: 0 / 353.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.009099, allocations: 4 kB / 353.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.246e-05/0.009151, allocations: 31.91 kB / 353.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.009531, allocations: 431.2 kB / 354.3 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.009694, allocations: 106.2 kB / 354.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.009734, allocations: 31.36 kB / 354.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.009751, allocations: 7.938 kB / 354.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.0099, allocations: 120.2 kB / 354.6 MB, free: 3.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.009902, allocations: 0 / 354.6 MB, free: 3.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005673/0.01047, allocations: 241.2 kB / 354.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.0105, allocations: 77.11 kB / 354.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.01071, allocations: 330.2 kB / 355.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.01072, allocations: 37.7 kB / 355.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.748e-05/0.0108, allocations: 199 kB / 355.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.01085, allocations: 47.62 kB / 355.5 MB, free: 2.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.01093, allocations: 43.34 kB / 355.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.01102, allocations: 0.5195 MB / 356 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.01106, allocations: 15.98 kB / 356.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.01112, allocations: 69.73 kB / 356.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.599e-05/0.01122, allocations: 90.81 kB / 356.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01122, allocations: 4 kB / 356.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001951/0.01141, allocations: 153.3 kB / 356.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.01143, allocations: 4 kB / 356.4 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01144, allocations: 0 / 356.4 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.01145, allocations: 4 kB / 356.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.01157, allocations: 31.98 kB / 356.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.01157, allocations: 4 kB / 356.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.236e-05/0.01164, allocations: 4.75 kB / 356.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.01165, allocations: 11.98 kB / 356.4 MB, free: 1.344 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.315e-05/0.01173, allocations: 176.5 kB / 356.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.01177, allocations: 31.81 kB / 356.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.01203, allocations: 171.5 kB / 356.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.01204, allocations: 4 kB / 356.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01204, allocations: 0 / 356.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.01205, allocations: 0 / 356.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.01253, allocations: 0.5979 MB / 357.4 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01253, allocations: 0 / 357.4 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.246e-05/0.0126, allocations: 23.98 kB / 357.4 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.01261, allocations: 8.062 kB / 357.4 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01262, allocations: 4 kB / 357.4 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.01263, allocations: 3.984 kB / 357.4 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01263, allocations: 0 / 357.4 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.01297, allocations: 458 kB / 357.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.013, allocations: 23.86 kB / 357.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.01304, allocations: 3.984 kB / 357.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.01316, allocations: 8 kB / 357.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.01321, allocations: 19.91 kB / 357.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.01323, allocations: 8 kB / 358 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001552/0.01339, allocations: 223 kB / 358.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01339, allocations: 0 / 358.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.01375, allocations: 43.94 kB / 358.2 MB, free: 15.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001338/0.01508, allocations: 447.4 kB / 358.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.01536, allocations: 87.56 kB / 358.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.01536, allocations: 0 / 358.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.01543, allocations: 61.48 kB / 358.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.01597, allocations: 73.48 kB / 358.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/0.01675, allocations: 392.6 kB / 359.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.789e-05/0.01684, allocations: 91.95 kB / 359.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.38e-05/0.01694, allocations: 25.62 kB / 359.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.01709, allocations: 118.2 kB / 359.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of SimCode: time 1.673e-06/0.01709, allocations: 0 / 359.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of Templates: time 0.007128/0.02422, allocations: 3.241 MB / 362.7 MB, free: 11 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.5562763111665845]