Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001408/0.001408, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001858/0.003266, 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.001209/0.001209, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001558/0.002767, 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.093/1.093, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1205/1.213, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3526/0.3526, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03554/0.3882, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 290.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.243e-05, allocations: 4.672 kB / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003779/0.003812, allocations: 1.772 MB / 292.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.005632, allocations: 1.007 MB / 293.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.005726, allocations: 2 kB / 293.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.005985, allocations: 52.97 kB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.006267, allocations: 99.47 kB / 293.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.00646, allocations: 77.45 kB / 293.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.006648, allocations: 95.64 kB / 293.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.006696, allocations: 4.234 kB / 293.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.006861, allocations: 81.22 kB / 293.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.842e-05/0.006959, allocations: 27.91 kB / 293.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.006978, allocations: 4 kB / 293.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.071e-05/0.007069, allocations: 35.86 kB / 293.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.00713, allocations: 31.86 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.007176, allocations: 11.94 kB / 294 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.007484, allocations: 91.69 kB / 294.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.066e-05/0.007505, allocations: 7.938 kB / 294.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.007505, allocations: 0 / 294.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.165e-05/0.007527, allocations: 0 / 294.1 MB, free: 4.828 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.000621/0.008148, allocations: 360.3 kB / 294.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.008193, allocations: 8.031 kB / 294.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.008235, allocations: 8.938 kB / 294.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.008452, allocations: 162.4 kB / 294.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.008473, allocations: 4.375 kB / 294.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.008484, allocations: 4.359 kB / 294.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.008609, allocations: 57.77 kB / 294.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.008621, allocations: 7.938 kB / 294.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.008631, allocations: 4 kB / 294.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.008638, allocations: 0 / 294.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.973e-05/0.008667, allocations: 4 kB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.008775, allocations: 70.69 kB / 294.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.668e-05/0.008872, allocations: 45.38 kB / 294.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/0.008893, allocations: 8.859 kB / 294.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.008905, allocations: 0 / 294.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.009031, allocations: 66.2 kB / 294.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.009032, allocations: 4 kB / 294.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001435/0.009175, allocations: 53.67 kB / 294.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.009235, allocations: 63.28 kB / 295 MB, free: 3.793 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.009411, allocations: 214.3 kB / 295.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.009426, allocations: 25.7 kB / 295.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.009468, allocations: 96.11 kB / 295.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.009499, allocations: 19.83 kB / 295.3 MB, free: 3.422 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.009535, allocations: 21.66 kB / 295.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.009646, allocations: 330.8 kB / 295.7 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.009668, allocations: 6.828 kB / 295.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.489e-05/0.009693, allocations: 25.72 kB / 295.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.828e-05/0.009742, allocations: 35.59 kB / 295.7 MB, free: 2.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.009744, allocations: 0 / 295.7 MB, free: 2.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000252/0.009996, allocations: 64.44 kB / 295.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.01001, allocations: 4 kB / 295.8 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01001, allocations: 4 kB / 295.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/0.01002, allocations: 0 / 295.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-05/0.01009, allocations: 15.92 kB / 295.8 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.01009, allocations: 3.938 kB / 295.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.643e-05/0.01013, allocations: 12.03 kB / 295.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.01014, allocations: 0 / 295.8 MB, free: 2.871 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 7.726e-05/0.01021, allocations: 112.7 kB / 296 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.01023, allocations: 11.98 kB / 296 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.897e-05/0.01033, allocations: 62.83 kB / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01033, allocations: 4 kB / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.01033, allocations: 3.938 kB / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01034, allocations: 0 / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.48e-05/0.01043, allocations: 89.84 kB / 296.1 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01043, allocations: 0 / 296.1 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.01046, allocations: 11.94 kB / 296.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.01047, allocations: 11.91 kB / 296.1 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01048, allocations: 4 kB / 296.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.01048, allocations: 4 kB / 296.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.01049, allocations: 0 / 296.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.01049, allocations: 7.922 kB / 296.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.515e-05/0.01058, allocations: 86.75 kB / 296.2 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.0106, allocations: 0 / 296.2 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.862e-05/0.01063, allocations: 4.188 kB / 296.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.01065, allocations: 4 kB / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.01066, allocations: 11.98 kB / 296.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.1e-05/0.01075, allocations: 79.69 kB / 296.3 MB, free: 2.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01075, allocations: 0 / 296.3 MB, free: 2.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001947/0.01094, allocations: 23.94 kB / 296.4 MB, free: 2.289 MB / 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.002078/0.01302, allocations: 0.5544 MB / 296.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.993e-05/0.01311, allocations: 24.86 kB / 296.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.01312, allocations: 4 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.458e-05/0.01315, allocations: 24.84 kB / 297 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.01332, allocations: 50.94 kB / 297 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/0.01386, allocations: 232 kB / 297.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.2e-05/0.01391, allocations: 71.33 kB / 297.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.815e-05/0.01395, allocations: 12.48 kB / 297.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.688e-05/0.01403, allocations: 63.38 kB / 297.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01403, allocations: 0 / 297.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of Templates: time 0.004451/0.01848, allocations: 1.828 MB / 299.2 MB, free: 15.72 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.3578853644430637]