Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.00132/0.00132, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002153/0.003473, 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.001264/0.001264, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001694/0.002958, 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.9315/0.9315, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1621/1.094, allocations: 49.5 MB / 220.5 MB, free: 5.266 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.1173/0.1173, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02051/0.1378, allocations: 12.3 MB / 265.9 MB, free: 7.832 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.404e-05, allocations: 10.25 kB / 267.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.004469/0.004493, allocations: 1.774 MB / 269.1 MB, free: 4.648 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.006086, allocations: 0.7998 MB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.088e-05/0.006176, allocations: 0 / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.006477, allocations: 47.69 kB / 269.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.006712, allocations: 59.64 kB / 270 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.00701, allocations: 83.69 kB / 270.1 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.007232, allocations: 91.72 kB / 270.1 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.007369, allocations: 12.22 kB / 270.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.007534, allocations: 79.77 kB / 270.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.042e-05/0.007624, allocations: 19.92 kB / 270.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.007648, allocations: 4 kB / 270.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.007756, allocations: 47.91 kB / 270.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.007812, allocations: 19.92 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.007854, allocations: 11.94 kB / 270.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.008068, allocations: 95.61 kB / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.179e-05/0.008089, allocations: 0 / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.008091, allocations: 3.938 kB / 270.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.008109, allocations: 8 kB / 270.4 MB, free: 3.266 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.0005746/0.008684, allocations: 319.9 kB / 270.8 MB, free: 2.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.008726, allocations: 12.03 kB / 270.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.008771, allocations: 8.922 kB / 270.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.008976, allocations: 145.5 kB / 270.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.008997, allocations: 4.375 kB / 270.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.009017, allocations: 384 / 270.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.009164, allocations: 65.75 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.009175, allocations: 7.938 kB / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.009185, allocations: 0 / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.009192, allocations: 7.938 kB / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.777e-05/0.00923, allocations: 4 kB / 271 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.009519, allocations: 170 kB / 271.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.009645, allocations: 89.28 kB / 271.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.009676, allocations: 8.859 kB / 271.3 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.009691, allocations: 4 kB / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.009868, allocations: 78.08 kB / 271.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.665e-06/0.009871, allocations: 3.938 kB / 271.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005075/0.01038, allocations: 109.5 kB / 271.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.01044, allocations: 59.39 kB / 271.5 MB, free: 2.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.0106, allocations: 160.3 kB / 271.7 MB, free: 1.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.01063, allocations: 29.69 kB / 271.7 MB, free: 1.863 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.01068, allocations: 92.08 kB / 271.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.01073, allocations: 27.83 kB / 271.8 MB, free: 1.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.01078, allocations: 21.72 kB / 271.8 MB, free: 1.715 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.01091, allocations: 326.8 kB / 272.2 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.01094, allocations: 6.828 kB / 272.2 MB, free: 1.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/0.01097, allocations: 25.7 kB / 272.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.01103, allocations: 52.52 kB / 272.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.01103, allocations: 0 / 272.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001223/0.01116, allocations: 76.38 kB / 272.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01117, allocations: 4 kB / 272.3 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01118, allocations: 3.984 kB / 272.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.01119, allocations: 3.984 kB / 272.3 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.801e-05/0.01129, allocations: 16 kB / 272.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.0113, allocations: 0 / 272.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.01134, allocations: 7.938 kB / 272.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.01135, allocations: 8.016 kB / 272.4 MB, free: 1.164 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 9.61e-05/0.01144, allocations: 116.7 kB / 272.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.01147, allocations: 11.94 kB / 272.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.01162, allocations: 78.38 kB / 272.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01162, allocations: 0 / 272.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01162, allocations: 0 / 272.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01162, allocations: 0 / 272.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.01193, allocations: 291.4 kB / 272.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01193, allocations: 0 / 272.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.01198, allocations: 16.02 kB / 272.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.012, allocations: 15.91 kB / 272.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.012, allocations: 0 / 272.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.01201, allocations: 4 kB / 272.9 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01201, allocations: 3.938 kB / 272.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01201, allocations: 0 / 272.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.01218, allocations: 211 kB / 273.1 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.01221, allocations: 12.31 kB / 273.1 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.01228, allocations: 0 / 273.1 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.01232, allocations: 11.92 kB / 273.1 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.01233, allocations: 8 kB / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of sorting global known variables: time 5.899e-05/0.01239, allocations: 52.52 kB / 273.2 MB, free: 292 kB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01239, allocations: 0 / 273.2 MB, free: 292 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.01262, allocations: 20 kB / 273.2 MB, free: 272 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.002017/0.01464, allocations: 0.6361 MB / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.01476, allocations: 48.72 kB / 273.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.01477, allocations: 4 kB / 273.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.01481, allocations: 24.78 kB / 273.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.01508, allocations: 43.81 kB / 274 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006319/0.01572, allocations: 218.6 kB / 274.2 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.092e-05/0.01577, allocations: 63.34 kB / 274.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.027e-05/0.01582, allocations: 16.61 kB / 274.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.325e-05/0.01591, allocations: 71.36 kB / 274.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01591, allocations: 0 / 274.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of Templates: time 0.008301/0.02421, allocations: 2.029 MB / 276.3 MB, free: 13.04 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.820927298627794]