Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.001061/0.001061, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.00214, allocations: 447.8 kB / 10.35 MB, free: 348 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.0009281/0.0009281, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001203/0.002132, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9023/0.9023, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1827/1.085, allocations: 49.5 MB / 220.5 MB, free: 5.277 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.1628/0.1628, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03014/0.1929, allocations: 12.3 MB / 265.9 MB, free: 7.828 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.736e-05, allocations: 6.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002783/0.002811, allocations: 1.77 MB / 269.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.00393, allocations: 0.8114 MB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.457e-05/0.004014, allocations: 0 / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.004344, allocations: 87.64 kB / 270 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.004547, allocations: 87.58 kB / 270 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.004791, allocations: 83.7 kB / 270.1 MB, free: 3.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.004972, allocations: 103.7 kB / 270.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.005067, allocations: 12.17 kB / 270.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.005203, allocations: 91.73 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.005312, allocations: 47.88 kB / 270.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.005332, allocations: 4 kB / 270.4 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.219e-05/0.005424, allocations: 39.92 kB / 270.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.005479, allocations: 19.94 kB / 270.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.005525, allocations: 19.88 kB / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.005698, allocations: 99.61 kB / 270.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.828e-05/0.005716, allocations: 4 kB / 270.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.005718, allocations: 0 / 270.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.005735, allocations: 0 / 270.6 MB, free: 3.152 MB / 266.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.0005143/0.00625, allocations: 335.8 kB / 270.9 MB, free: 2.801 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.006292, allocations: 12.03 kB / 270.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.006333, allocations: 8.922 kB / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.006534, allocations: 141.6 kB / 271 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.006555, allocations: 8.312 kB / 271.1 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.006576, allocations: 4.375 kB / 271.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.006725, allocations: 73.7 kB / 271.1 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.006739, allocations: 3.938 kB / 271.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.006751, allocations: 0 / 271.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.006758, allocations: 0 / 271.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.006793, allocations: 15.98 kB / 271.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.007076, allocations: 165.9 kB / 271.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.007195, allocations: 81.3 kB / 271.4 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.007228, allocations: 16.92 kB / 271.4 MB, free: 2.215 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.007244, allocations: 3.938 kB / 271.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.007381, allocations: 74.14 kB / 271.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.007383, allocations: 0 / 271.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003699/0.007753, allocations: 105.6 kB / 271.6 MB, free: 2.016 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.00779, allocations: 51.41 kB / 271.6 MB, free: 1.953 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.007911, allocations: 188.2 kB / 271.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.00793, allocations: 29.7 kB / 271.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.007966, allocations: 92.08 kB / 271.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.008003, allocations: 31.77 kB / 272 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.008054, allocations: 21.72 kB / 272 MB, free: 1.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.00815, allocations: 322.8 kB / 272.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.008171, allocations: 18.81 kB / 272.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.301e-05/0.008194, allocations: 21.72 kB / 272.3 MB, free: 1.195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.825e-05/0.008243, allocations: 48.5 kB / 272.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.008244, allocations: 0 / 272.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.854e-05/0.008333, allocations: 76.36 kB / 272.5 MB, free: 1.059 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.008347, allocations: 8 kB / 272.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.008353, allocations: 0 / 272.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.008362, allocations: 0 / 272.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.008446, allocations: 16 kB / 272.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.008451, allocations: 8.016 kB / 272.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.008479, allocations: 4 kB / 272.5 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.008484, allocations: 4 kB / 272.5 MB, free: 1.02 MB / 266.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.318e-05/0.008557, allocations: 120.6 kB / 272.6 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.008572, allocations: 11.92 kB / 272.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.008692, allocations: 71.14 kB / 272.7 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.008694, allocations: 3.938 kB / 272.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008696, allocations: 0 / 272.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.0087, allocations: 3.984 kB / 272.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.008927, allocations: 299.4 kB / 273 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.008929, allocations: 0 / 273 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.008962, allocations: 11.94 kB / 273 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.008972, allocations: 11.91 kB / 273 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.008975, allocations: 4 kB / 273 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.008985, allocations: 7.984 kB / 273 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.008987, allocations: 0 / 273 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.00899, allocations: 4 kB / 273 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.009107, allocations: 215 kB / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.009124, allocations: 384 / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.646e-05/0.00917, allocations: 16.02 kB / 273.3 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.009198, allocations: 4 kB / 273.3 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.009212, allocations: 7.984 kB / 273.3 MB, free: 188 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.748e-05/0.009259, allocations: 55.66 kB / 273.3 MB, free: 128 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009259, allocations: 0 / 273.3 MB, free: 128 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001451/0.009404, allocations: 27.92 kB / 273.4 MB, free: 100 kB / 266.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.001327/0.01073, allocations: 0.6361 MB / 274 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.01086, allocations: 44.78 kB / 274 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.01087, allocations: 0 / 274 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/0.01091, allocations: 32.77 kB / 274.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.01113, allocations: 47.75 kB / 274.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.01165, allocations: 226.3 kB / 274.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.761e-05/0.0117, allocations: 71.33 kB / 274.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.755e-05/0.01174, allocations: 8.5 kB / 274.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.429e-05/0.01181, allocations: 75.34 kB / 274.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01181, allocations: 3.938 kB / 274.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of Templates: time 0.005099/0.01691, allocations: 2.028 MB / 276.5 MB, free: 12.86 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.9683289928361773]