Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.0006779/0.0006779, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001709, allocations: 452 kB / 10.43 MB, free: 264 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.0007035/0.0007035, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009228/0.001626, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8396/0.8396, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.176/1.016, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.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.1455/0.1455, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02398/0.1694, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.752e-05, allocations: 10.19 kB / 267.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00284/0.002858, allocations: 1.782 MB / 269.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.00418, allocations: 0.8191 MB / 270.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.257e-05/0.004262, allocations: 0 / 270.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.004556, allocations: 107.5 kB / 270.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.004757, allocations: 91.64 kB / 270.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.004994, allocations: 91.58 kB / 270.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.005206, allocations: 131.6 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.005308, allocations: 7.938 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.005472, allocations: 99.8 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.005596, allocations: 55.86 kB / 270.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.005622, allocations: 8 kB / 270.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.005726, allocations: 47.86 kB / 270.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.005786, allocations: 27.94 kB / 270.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.005848, allocations: 19.88 kB / 270.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.006042, allocations: 111.6 kB / 270.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.006053, allocations: 3.938 kB / 270.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006054, allocations: 0 / 270.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.006064, allocations: 0 / 270.9 MB, free: 15.05 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004823/0.006546, allocations: 375.6 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.00658, allocations: 8.031 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.006618, allocations: 12.92 kB / 271.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.006797, allocations: 153.4 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.006815, allocations: 8.375 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.006839, allocations: 4.375 kB / 271.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.006987, allocations: 73.69 kB / 271.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.007, allocations: 3.938 kB / 271.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.00701, allocations: 4 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.007018, allocations: 4 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.007057, allocations: 19.91 kB / 271.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.007337, allocations: 189.8 kB / 271.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.007481, allocations: 89.3 kB / 271.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.007508, allocations: 16.86 kB / 271.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.007525, allocations: 4 kB / 271.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.007648, allocations: 74.11 kB / 271.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.007649, allocations: 0 / 271.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004038/0.008053, allocations: 149.5 kB / 272 MB, free: 13.78 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.00809, allocations: 55.41 kB / 272.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.008258, allocations: 203.9 kB / 272.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.008275, allocations: 33.69 kB / 272.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.008312, allocations: 99.84 kB / 272.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.008345, allocations: 35.7 kB / 272.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.008382, allocations: 33.69 kB / 272.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.008465, allocations: 326.8 kB / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.008484, allocations: 14.81 kB / 272.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.008511, allocations: 25.7 kB / 272.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.008561, allocations: 52.52 kB / 272.9 MB, free: 12.85 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.008563, allocations: 3.938 kB / 272.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.306e-05/0.008646, allocations: 84.36 kB / 273 MB, free: 12.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.008659, allocations: 8 kB / 273 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.008665, allocations: 4 kB / 273 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.00868, allocations: 4.031 kB / 273 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.594e-05/0.008766, allocations: 27.92 kB / 273 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.008769, allocations: 0 / 273 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.651e-05/0.008796, allocations: 8 kB / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.008802, allocations: 0 / 273 MB, free: 12.7 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 (13): * Single equations (assignments): 13 * 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.0001578/0.008959, allocations: 120.6 kB / 273.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.008973, allocations: 11.98 kB / 273.2 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.009097, allocations: 107 kB / 273.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.0091, allocations: 4 kB / 273.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.009101, allocations: 4 kB / 273.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.009105, allocations: 0 / 273.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.009348, allocations: 327.3 kB / 273.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009349, allocations: 0 / 273.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.574e-05/0.009384, allocations: 23.92 kB / 273.6 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.009398, allocations: 15.91 kB / 273.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.009399, allocations: 0 / 273.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.009406, allocations: 0 / 273.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.009408, allocations: 4 kB / 273.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.009409, allocations: 0 / 273.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.009525, allocations: 239.7 kB / 273.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.009546, allocations: 7.984 kB / 273.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.811e-05/0.009584, allocations: 4 kB / 273.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.009616, allocations: 7.984 kB / 273.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.009631, allocations: 8 kB / 273.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.11e-05/0.009682, allocations: 63.62 kB / 274 MB, free: 11.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009682, allocations: 0 / 274 MB, free: 11.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001505/0.009833, allocations: 31.92 kB / 274 MB, free: 11.68 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 (13): * Single equations (assignments): 11 * 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.001254/0.01109, allocations: 0.644 MB / 274.6 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.01119, allocations: 60.7 kB / 274.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.0112, allocations: 0 / 274.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.919e-05/0.01125, allocations: 48.95 kB / 274.7 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.01165, allocations: 180.4 kB / 274.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.01214, allocations: 274.7 kB / 275.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.405e-05/0.0122, allocations: 83.31 kB / 275.3 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.134e-05/0.01224, allocations: 16.64 kB / 275.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.01232, allocations: 71.36 kB / 275.4 MB, free: 10.22 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01232, allocations: 0 / 275.4 MB, free: 10.22 MB / 282.7 MB Notification: Performance of Templates: time 0.003962/0.01628, allocations: 2.293 MB / 277.6 MB, free: 7.926 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.65242160204798]