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.0009043/0.0009043, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001243/0.002148, 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.0009347/0.0009347, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003676/0.00461, 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.8734/0.8734, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1843/1.058, allocations: 49.51 MB / 220.5 MB, free: 5.262 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.1453/0.1453, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03658/0.1819, allocations: 12.3 MB / 265.9 MB, free: 7.816 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.082e-06/1.082e-06, allocations: 0 / 267.3 MB, free: 6.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.247e-05, allocations: 2.312 kB / 267.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002677/0.0027, allocations: 1.781 MB / 269.1 MB, free: 4.641 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004175/0.006875, allocations: 0.8153 MB / 269.9 MB, free: 3.816 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.006936, allocations: 3.938 kB / 269.9 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.007188, allocations: 99.67 kB / 270 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.007367, allocations: 99.56 kB / 270.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.007562, allocations: 87.69 kB / 270.2 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.007735, allocations: 115.7 kB / 270.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.007812, allocations: 15.92 kB / 270.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.007951, allocations: 99.73 kB / 270.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.814e-05/0.008049, allocations: 55.88 kB / 270.5 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.008068, allocations: 4 kB / 270.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.008159, allocations: 47.91 kB / 270.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.008205, allocations: 27.86 kB / 270.5 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.008244, allocations: 19.94 kB / 270.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.008424, allocations: 115.5 kB / 270.7 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.008437, allocations: 0 / 270.7 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008438, allocations: 4 kB / 270.7 MB, free: 3.035 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.00845, allocations: 0 / 270.7 MB, free: 3.035 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004436/0.008894, allocations: 371.5 kB / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.008922, allocations: 8.031 kB / 271 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.008964, allocations: 16.92 kB / 271.1 MB, free: 2.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007242/0.009688, allocations: 153.4 kB / 271.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.009709, allocations: 12.31 kB / 271.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.009726, allocations: 384 / 271.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.00986, allocations: 73.75 kB / 271.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.00987, allocations: 7.938 kB / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.009877, allocations: 0 / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.009882, allocations: 0 / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.384e-05/0.009926, allocations: 15.98 kB / 271.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.01019, allocations: 189.8 kB / 271.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.01031, allocations: 89.3 kB / 271.6 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.01034, allocations: 16.84 kB / 271.6 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.01036, allocations: 7.984 kB / 271.6 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.01047, allocations: 78.17 kB / 271.7 MB, free: 1.914 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.01048, allocations: 0 / 271.7 MB, free: 1.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.000373/0.01085, allocations: 141.4 kB / 271.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.01089, allocations: 55.34 kB / 271.9 MB, free: 1.703 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.01105, allocations: 201.2 kB / 272.1 MB, free: 1.492 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.01107, allocations: 33.7 kB / 272.1 MB, free: 1.453 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.01113, allocations: 107.7 kB / 272.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.01117, allocations: 31.7 kB / 272.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.01122, allocations: 29.69 kB / 272.3 MB, free: 1.277 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.01132, allocations: 326.8 kB / 272.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.01135, allocations: 18.81 kB / 272.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.01139, allocations: 33.7 kB / 272.6 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.257e-05/0.01146, allocations: 48.45 kB / 272.7 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01147, allocations: 3.938 kB / 272.7 MB, free: 0.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001173/0.01158, allocations: 84.59 kB / 272.8 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.0116, allocations: 4 kB / 272.8 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.0116, allocations: 0 / 272.8 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.01161, allocations: 0 / 272.8 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.0117, allocations: 31.92 kB / 272.8 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.0117, allocations: 8.031 kB / 272.8 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.01174, allocations: 3.938 kB / 272.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.01175, allocations: 4 kB / 272.8 MB, free: 0.6914 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 (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 8.282e-05/0.01183, allocations: 128.6 kB / 273 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.01185, allocations: 8 kB / 273 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.012, allocations: 107 kB / 273.1 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.01201, allocations: 0 / 273.1 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01201, allocations: 0 / 273.1 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01201, allocations: 0 / 273.1 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.01234, allocations: 335.4 kB / 273.4 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.01234, allocations: 4 kB / 273.4 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.0124, allocations: 19.98 kB / 273.4 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.01242, allocations: 15.91 kB / 273.4 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01242, allocations: 0 / 273.4 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.01243, allocations: 4 kB / 273.4 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01244, allocations: 0 / 273.4 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.01244, allocations: 3.938 kB / 273.4 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.01278, allocations: 227 kB / 273.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.01281, allocations: 7.984 kB / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.746e-05/0.01288, allocations: 32 / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.01291, allocations: 15.98 kB / 273.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.01293, allocations: 4 kB / 273.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.206e-05/0.01299, allocations: 75.67 kB / 273.8 MB, free: 15.69 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01299, allocations: 3.938 kB / 273.8 MB, free: 15.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001526/0.01314, allocations: 27.94 kB / 273.8 MB, free: 15.66 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.001242/0.01438, allocations: 0.6367 MB / 274.4 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.01449, allocations: 60.77 kB / 274.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.0145, allocations: 4 kB / 274.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.44e-05/0.01453, allocations: 28.84 kB / 274.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.01472, allocations: 39.89 kB / 274.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.01521, allocations: 278.8 kB / 274.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.163e-05/0.01526, allocations: 75.33 kB / 274.9 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.773e-05/0.01531, allocations: 24.61 kB / 274.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.483e-05/0.0154, allocations: 79.3 kB / 275 MB, free: 14.38 MB / 282.7 MB Notification: Performance of SimCode: time 1.472e-06/0.0154, allocations: 0 / 275 MB, free: 14.38 MB / 282.7 MB Notification: Performance of Templates: time 0.004084/0.01948, allocations: 2.286 MB / 277.3 MB, free: 12.09 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.724940094165504]