Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.0009033/0.0009033, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002983/0.003886, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009107/0.0009107, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001198/0.002109, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.028/1.028, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09235/1.12, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2881/0.2881, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02731/0.3154, allocations: 13.1 MB / 291.3 MB, free: 7.371 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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.192e-05, allocations: 2.312 kB / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002841/0.002863, allocations: 1.809 MB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005506/0.008368, allocations: 1.75 MB / 296.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.008482, allocations: 4 kB / 296.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.008739, allocations: 35.77 kB / 296.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003981/0.009137, allocations: 103.3 kB / 296.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.01244, allocations: 79.66 kB / 296.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.01264, allocations: 119.6 kB / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.01274, allocations: 7.984 kB / 296.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.01289, allocations: 79.83 kB / 296.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.01302, allocations: 31.89 kB / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.01304, allocations: 4 kB / 296.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.01329, allocations: 115.7 kB / 296.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.01334, allocations: 15.94 kB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.01338, allocations: 15.94 kB / 296.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.01366, allocations: 143.5 kB / 297 MB, free: 1.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.952e-05/0.01368, allocations: 0 / 297 MB, free: 1.891 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.01368, allocations: 4 kB / 297 MB, free: 1.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.0137, allocations: 0 / 297 MB, free: 1.887 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.0005624/0.01426, allocations: 356.9 kB / 297.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.0143, allocations: 8.031 kB / 297.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.01434, allocations: 12.92 kB / 297.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.01454, allocations: 142.2 kB / 297.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.01455, allocations: 384 / 297.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.01458, allocations: 8.359 kB / 297.5 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.01473, allocations: 108.5 kB / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.01474, allocations: 3.938 kB / 297.6 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.01474, allocations: 4 kB / 297.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.01475, allocations: 3.938 kB / 297.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.01478, allocations: 14.83 kB / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.01501, allocations: 162 kB / 297.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.01816, allocations: 85.3 kB / 297.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.01819, allocations: 28.78 kB / 297.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.01821, allocations: 0 / 297.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.01834, allocations: 62.16 kB / 298 MB, free: 0.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.01834, allocations: 4 kB / 298 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000366/0.01871, allocations: 113.5 kB / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.01874, allocations: 51.41 kB / 298.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.01887, allocations: 163.4 kB / 298.3 MB, free: 448 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.01889, allocations: 33.69 kB / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.01893, allocations: 88.12 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.01896, allocations: 27.78 kB / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.01901, allocations: 21.7 kB / 298.5 MB, free: 260 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.01911, allocations: 322.8 kB / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.01914, allocations: 10.83 kB / 298.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.635e-05/0.01918, allocations: 64.25 kB / 298.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.405e-05/0.01924, allocations: 40.41 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01924, allocations: 0 / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000105/0.01934, allocations: 80.48 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.01936, allocations: 4 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01936, allocations: 4 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01938, allocations: 3.984 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.127e-05/0.01947, allocations: 16 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.01947, allocations: 0 / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.01951, allocations: 8.016 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.01952, allocations: 7.984 kB / 299 MB, free: 15.66 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 0.0002231/0.01974, allocations: 120.6 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.01976, allocations: 4 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.01989, allocations: 78.38 kB / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01989, allocations: 4 kB / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01989, allocations: 0 / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.0199, allocations: 0 / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.02018, allocations: 291.4 kB / 299.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02018, allocations: 32 / 299.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.02022, allocations: 19.94 kB / 299.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.02023, allocations: 12.27 kB / 299.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.02023, allocations: 0 / 299.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.02024, allocations: 7.984 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.02024, allocations: 4 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.02025, allocations: 0 / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.02038, allocations: 223 kB / 299.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.0204, allocations: 4 kB / 299.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.034e-05/0.02046, allocations: 0 / 299.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.02049, allocations: 11.98 kB / 299.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.0205, allocations: 8 kB / 299.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.124e-05/0.02056, allocations: 41.88 kB / 299.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02056, allocations: 0 / 299.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.02082, allocations: 55.8 kB / 299.9 MB, free: 14.73 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.005055/0.02587, allocations: 0.7758 MB / 300.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.02601, allocations: 40.78 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.02602, allocations: 7.922 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.02606, allocations: 28.78 kB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.02632, allocations: 42.27 kB / 300.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.02994, allocations: 207.5 kB / 301 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.635e-05/0.02998, allocations: 63.47 kB / 301.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.731e-05/0.03005, allocations: 21.27 kB / 301.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.473e-05/0.03014, allocations: 71.36 kB / 301.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of SimCode: time 1.653e-06/0.03015, allocations: 0 / 301.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of Templates: time 0.005588/0.03573, allocations: 2.814 MB / 304 MB, free: 11.06 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.1407628171145916]