Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0007058/0.0007058, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009661/0.001672, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006624/0.0006624, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001976/0.002639, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.032/1.032, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09156/1.124, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2897/0.2897, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02517/0.3149, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.376e-05, allocations: 3.719 kB / 292.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.006397/0.00642, allocations: 1.804 MB / 294.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005619/0.01204, allocations: 1.778 MB / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.01215, allocations: 4 kB / 296.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.01238, allocations: 35.72 kB / 296.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.01274, allocations: 99.41 kB / 296.7 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.01301, allocations: 83.55 kB / 296.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.01321, allocations: 111.6 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.0133, allocations: 8 kB / 296.9 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.01346, allocations: 87.8 kB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.01359, allocations: 31.84 kB / 297 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.01361, allocations: 4 kB / 297 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.01385, allocations: 111.8 kB / 297.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.355e-05/0.0139, allocations: 19.86 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.01394, allocations: 12 kB / 297.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.01423, allocations: 155.4 kB / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.01424, allocations: 0 / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01424, allocations: 0 / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.01425, allocations: 0 / 297.3 MB, free: 1.758 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.003647/0.0179, allocations: 348.9 kB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.01793, allocations: 12.03 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.01797, allocations: 8.922 kB / 297.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.01817, allocations: 146.1 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.01818, allocations: 4.375 kB / 297.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.01821, allocations: 4.375 kB / 297.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.01836, allocations: 108.5 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.01837, allocations: 0 / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.01838, allocations: 0 / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.01839, allocations: 3.984 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.651e-05/0.01842, allocations: 14.81 kB / 297.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.01868, allocations: 177.9 kB / 298.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.0188, allocations: 81.3 kB / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.52e-05/0.01882, allocations: 16.8 kB / 298.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.01884, allocations: 0 / 298.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.01896, allocations: 66.2 kB / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.01896, allocations: 0 / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003602/0.01932, allocations: 113.5 kB / 298.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.01935, allocations: 59.34 kB / 298.4 MB, free: 496 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.01948, allocations: 167.4 kB / 298.6 MB, free: 316 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.0195, allocations: 25.7 kB / 298.6 MB, free: 284 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.01954, allocations: 92.11 kB / 298.7 MB, free: 188 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.01957, allocations: 27.8 kB / 298.7 MB, free: 160 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.01961, allocations: 29.69 kB / 298.7 MB, free: 124 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.01971, allocations: 322.8 kB / 299.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.01973, allocations: 6.828 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.36e-05/0.01977, allocations: 60.25 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.573e-05/0.01983, allocations: 44.41 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01983, allocations: 0 / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001017/0.01993, allocations: 72.55 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.01995, allocations: 4 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01995, allocations: 8 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.01997, allocations: 4 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.467e-05/0.02005, allocations: 23.92 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.02006, allocations: 0 / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.0201, allocations: 7.953 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.0201, allocations: 0 / 299.3 MB, free: 15.54 MB / 298.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.549e-05/0.02018, allocations: 123.6 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.0202, allocations: 11.98 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/0.02336, allocations: 74.39 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.02336, allocations: 0 / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.02336, allocations: 4 kB / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.02337, allocations: 3.984 kB / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.02367, allocations: 291.4 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.02368, allocations: 0 / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.02373, allocations: 19.98 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.02375, allocations: 7.953 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.02375, allocations: 0 / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.02376, allocations: 0 / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.02376, allocations: 0 / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02376, allocations: 4 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.02391, allocations: 219 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.02393, allocations: 8.359 kB / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.02401, allocations: 4 kB / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.02404, allocations: 7.984 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.02405, allocations: 8 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.044e-05/0.02411, allocations: 41.89 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02411, allocations: 0 / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003136/0.02443, allocations: 51.8 kB / 300.1 MB, free: 14.61 MB / 298.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.005364/0.02979, allocations: 0.7926 MB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.02992, allocations: 36.83 kB / 301 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.02993, allocations: 4 kB / 301 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.119e-05/0.02998, allocations: 32.72 kB / 301 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.03031, allocations: 181.4 kB / 301.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006896/0.031, allocations: 207.5 kB / 301.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.03104, allocations: 63.34 kB / 301.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.212e-05/0.0311, allocations: 17.42 kB / 301.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.03121, allocations: 75.36 kB / 301.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03121, allocations: 0 / 301.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of Templates: time 0.01248/0.04369, allocations: 2.816 MB / 304.4 MB, free: 10.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9352068128064275]