Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.0008118/0.0008118, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00118/0.001992, 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.0009716/0.0009716, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.002116, 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.031/1.031, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09731/1.129, 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.3246/0.3246, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02487/0.3495, allocations: 13.1 MB / 291.3 MB, free: 7.367 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 292.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.624e-05, allocations: 3.078 kB / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003447/0.003474, allocations: 1.767 MB / 294.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.004993, allocations: 1.01 MB / 295.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.005067, allocations: 0 / 295.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.005297, allocations: 51.7 kB / 295.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.005541, allocations: 99.47 kB / 295.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.005694, allocations: 79.66 kB / 295.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.005861, allocations: 95.66 kB / 295.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.005906, allocations: 8.219 kB / 295.8 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.006058, allocations: 79.81 kB / 295.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.006149, allocations: 23.92 kB / 295.9 MB, free: 3 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.006165, allocations: 4 kB / 295.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.11e-05/0.006246, allocations: 39.91 kB / 296 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.006305, allocations: 31.8 kB / 296 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.137e-05/0.006346, allocations: 15.94 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.006528, allocations: 95.61 kB / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.886e-05/0.006547, allocations: 4 kB / 296.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006548, allocations: 0 / 296.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.006565, allocations: 0 / 296.1 MB, free: 2.812 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004978/0.007063, allocations: 352.9 kB / 296.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.007095, allocations: 8.031 kB / 296.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.00713, allocations: 12.92 kB / 296.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.007291, allocations: 158.5 kB / 296.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.007304, allocations: 384 / 296.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.007316, allocations: 12.3 kB / 296.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.007417, allocations: 57.77 kB / 296.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.007424, allocations: 3.938 kB / 296.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.00743, allocations: 0 / 296.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.007434, allocations: 0 / 296.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.554e-05/0.00746, allocations: 15.97 kB / 296.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.491e-05/0.007545, allocations: 66.7 kB / 296.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.723e-05/0.007622, allocations: 37.44 kB / 296.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.007643, allocations: 20.8 kB / 296.8 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.007654, allocations: 0 / 296.8 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.653e-05/0.00774, allocations: 58.22 kB / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 5.62e-07/0.007741, allocations: 0 / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000106/0.007847, allocations: 57.86 kB / 296.9 MB, free: 1.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.00788, allocations: 59.28 kB / 297 MB, free: 1.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.008009, allocations: 221.2 kB / 297.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.008022, allocations: 25.7 kB / 297.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.008054, allocations: 100.1 kB / 297.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.008085, allocations: 19.84 kB / 297.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.008116, allocations: 21.69 kB / 297.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.008204, allocations: 326.8 kB / 297.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.008219, allocations: 14.89 kB / 297.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.008238, allocations: 13.72 kB / 297.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.008276, allocations: 39.34 kB / 297.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008278, allocations: 0 / 297.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.936e-05/0.008338, allocations: 64.44 kB / 297.8 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.008348, allocations: 4 kB / 297.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.008353, allocations: 4.031 kB / 297.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.008361, allocations: 0 / 297.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.008423, allocations: 19.92 kB / 297.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.008427, allocations: 0 / 297.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.008456, allocations: 11.94 kB / 297.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.008461, allocations: 0 / 297.9 MB, free: 0.8594 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 (7): * Single equations (assignments): 7 * 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 6.629e-05/0.008527, allocations: 112.7 kB / 298 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.008539, allocations: 11.98 kB / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.289e-05/0.008622, allocations: 62.83 kB / 298 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008624, allocations: 0 / 298 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.008627, allocations: 11.94 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.008632, allocations: 0 / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.788e-05/0.00871, allocations: 89.84 kB / 298.1 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008711, allocations: 0 / 298.1 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.008727, allocations: 4 kB / 298.2 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.00874, allocations: 15.84 kB / 298.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008742, allocations: 0 / 298.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.008747, allocations: 3.984 kB / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.008749, allocations: 8.125 kB / 298.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.008751, allocations: 3.938 kB / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.558e-05/0.008817, allocations: 86.75 kB / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.008831, allocations: 8 kB / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.755e-05/0.008848, allocations: 0 / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.008874, allocations: 15.92 kB / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.008891, allocations: 0 / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of sorting global known variables: time 6.178e-05/0.008953, allocations: 79.69 kB / 298.4 MB, free: 304 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008953, allocations: 0 / 298.4 MB, free: 304 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001146/0.009068, allocations: 23.92 kB / 298.4 MB, free: 280 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001171/0.01024, allocations: 0.5458 MB / 298.9 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.385e-05/0.01032, allocations: 36.84 kB / 299 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.01033, allocations: 4 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.539e-05/0.01036, allocations: 20.8 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.01049, allocations: 45.88 kB / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.01091, allocations: 227.2 kB / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.638e-05/0.01095, allocations: 71.33 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.754e-05/0.01098, allocations: 8.484 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.01103, allocations: 71.42 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01103, allocations: 0 / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of Templates: time 0.003292/0.01432, allocations: 1.837 MB / 301.2 MB, free: 13.7 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.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: 2.872292716987431]