Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.001074/0.001074, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001754/0.001754, allocations: 173 kB / 24.05 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 0.9675/0.9675, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.175/0.175, allocations: 32.38 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.314e-05, allocations: 2.312 kB / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003021/0.003044, allocations: 1.718 MB / 349.9 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.004884, allocations: 1.525 MB / 351.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.004993, allocations: 3.938 kB / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.005363, allocations: 35.83 kB / 351.5 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.005686, allocations: 63.58 kB / 351.6 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.005986, allocations: 91.69 kB / 351.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.006153, allocations: 95.69 kB / 351.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.006261, allocations: 4.234 kB / 351.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.006385, allocations: 55.83 kB / 351.8 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.006505, allocations: 31.84 kB / 351.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.006526, allocations: 4 kB / 351.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.006672, allocations: 59.91 kB / 351.9 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.69e-05/0.006729, allocations: 27.91 kB / 351.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.006766, allocations: 15.94 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.006977, allocations: 115.5 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.006979, allocations: 4 kB / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00698, allocations: 0 / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.006984, allocations: 0 / 352 MB, free: 5.238 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.0004753/0.00746, allocations: 435.9 kB / 352.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.007519, allocations: 8.031 kB / 352.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.007578, allocations: 12.89 kB / 352.5 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.007757, allocations: 140.5 kB / 352.6 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.007778, allocations: 384 / 352.6 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.007804, allocations: 4.375 kB / 352.6 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.007981, allocations: 108 kB / 352.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.007998, allocations: 7.938 kB / 352.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.008009, allocations: 3.938 kB / 352.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.008018, allocations: 0 / 352.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.008066, allocations: 11.98 kB / 352.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.008427, allocations: 260.4 kB / 353 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.008546, allocations: 47.11 kB / 353.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.008574, allocations: 19.67 kB / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.008598, allocations: 8 kB / 353.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.008706, allocations: 72.95 kB / 353.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.008708, allocations: 4 kB / 353.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003895/0.009097, allocations: 133.4 kB / 353.3 MB, free: 3.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.009129, allocations: 77.11 kB / 353.4 MB, free: 3.746 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.009253, allocations: 208.9 kB / 353.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.009266, allocations: 25.7 kB / 353.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.009311, allocations: 142.9 kB / 353.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.009345, allocations: 31.73 kB / 353.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.009392, allocations: 31.36 kB / 353.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.009463, allocations: 0.4962 MB / 354.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.009486, allocations: 8 kB / 354.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/0.00953, allocations: 68.69 kB / 354.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.807e-05/0.009588, allocations: 47.34 kB / 354.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.009589, allocations: 0 / 354.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001165/0.009706, allocations: 89.58 kB / 354.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.009719, allocations: 4 kB / 354.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.009725, allocations: 4 kB / 354.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.00974, allocations: 0 / 354.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.009822, allocations: 15.98 kB / 354.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.009827, allocations: 0 / 354.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.009872, allocations: 8.062 kB / 354.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.009882, allocations: 8 kB / 354.5 MB, free: 2.492 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 9.113e-05/0.009974, allocations: 156.5 kB / 354.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.01, allocations: 19.89 kB / 354.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.0102, allocations: 98.38 kB / 354.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.0102, allocations: 0 / 354.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.01021, allocations: 0 / 354.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.01021, allocations: 0 / 354.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.01059, allocations: 365.5 kB / 355.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.0106, allocations: 8.344 kB / 355.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.01063, allocations: 12 kB / 355.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01064, allocations: 0 / 355.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.01065, allocations: 4 kB / 355.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.01065, allocations: 4 kB / 355.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01065, allocations: 0 / 355.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.01082, allocations: 247.4 kB / 355.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.01083, allocations: 7.953 kB / 355.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.01086, allocations: 7.984 kB / 355.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.01093, allocations: 4 kB / 355.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.01097, allocations: 11.98 kB / 355.5 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.01098, allocations: 4 kB / 355.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.042e-05/0.01104, allocations: 154.1 kB / 355.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01104, allocations: 0 / 355.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003315/0.01138, allocations: 27.94 kB / 355.7 MB, free: 1.309 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.001341/0.01272, allocations: 499.6 kB / 356.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.01285, allocations: 47.61 kB / 356.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01285, allocations: 0 / 356.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.01289, allocations: 27.67 kB / 356.2 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.01323, allocations: 43.7 kB / 356.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.0136, allocations: 201 kB / 356.5 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.169e-05/0.01363, allocations: 67.25 kB / 356.5 MB, free: 492 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.176e-05/0.01367, allocations: 16.92 kB / 356.5 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.396e-05/0.01375, allocations: 94.19 kB / 356.6 MB, free: 380 kB / 282.7 MB Notification: Performance of SimCode: time 1.343e-06/0.01375, allocations: 3.938 kB / 356.6 MB, free: 376 kB / 282.7 MB Notification: Performance of Templates: time 0.004287/0.01803, allocations: 2.31 MB / 358.9 MB, free: 14.07 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.1628104601986706]