Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.001367/0.001367, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001966/0.003332, 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.0009716/0.0009716, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.002203, 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.964/0.964, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2027/1.167, allocations: 49.49 MB / 220.5 MB, free: 5.281 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.1321/0.1321, allocations: 32.35 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02312/0.1553, 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.777e-05, allocations: 6.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002528/0.002545, allocations: 1.902 MB / 269.2 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.003928, allocations: 0.9087 MB / 270.1 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.004036, allocations: 4 kB / 270.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.00442, allocations: 223.3 kB / 270.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.004706, allocations: 171.3 kB / 270.5 MB, free: 3.219 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.005047, allocations: 147.5 kB / 270.6 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000279/0.005326, allocations: 231.3 kB / 270.9 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.005435, allocations: 14.45 kB / 270.9 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.005671, allocations: 192.2 kB / 271.1 MB, free: 2.648 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.005843, allocations: 127.7 kB / 271.2 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.005875, allocations: 8 kB / 271.2 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.00599, allocations: 47.91 kB / 271.2 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.38e-05/0.006073, allocations: 55.8 kB / 271.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.006133, allocations: 27.88 kB / 271.3 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.006409, allocations: 163.3 kB / 271.5 MB, free: 2.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.423e-05/0.006433, allocations: 0 / 271.5 MB, free: 2.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006434, allocations: 0 / 271.5 MB, free: 2.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.006455, allocations: 0 / 271.5 MB, free: 2.227 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007748/0.00723, allocations: 494.7 kB / 272 MB, free: 1.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.007278, allocations: 15.89 kB / 272 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.00734, allocations: 20.91 kB / 272 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.007636, allocations: 209.8 kB / 272.2 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.007665, allocations: 4.375 kB / 272.2 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.007689, allocations: 4.375 kB / 272.2 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.007854, allocations: 95.44 kB / 272.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.00787, allocations: 11.92 kB / 272.3 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.007882, allocations: 4 kB / 272.3 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.007889, allocations: 0 / 272.3 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.959e-05/0.007938, allocations: 29.58 kB / 272.4 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.008287, allocations: 277 kB / 272.6 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.008459, allocations: 174.6 kB / 272.8 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.008493, allocations: 25.7 kB / 272.8 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.008511, allocations: 7.984 kB / 272.8 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.008676, allocations: 107.8 kB / 272.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.008677, allocations: 4 kB / 272.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004357/0.009113, allocations: 214.9 kB / 273.2 MB, free: 428 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.00916, allocations: 81.11 kB / 273.2 MB, free: 328 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.009371, allocations: 312.6 kB / 273.5 MB, free: 0 / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.009412, allocations: 29.7 kB / 273.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.009466, allocations: 113 kB / 273.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.009514, allocations: 59.45 kB / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.009561, allocations: 33.7 kB / 273.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.009678, allocations: 346.7 kB / 274.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-05/0.009703, allocations: 14.83 kB / 274.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.537e-05/0.009748, allocations: 63.34 kB / 274.2 MB, free: 15.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.752e-05/0.009826, allocations: 80.92 kB / 274.3 MB, free: 15.22 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.009827, allocations: 0 / 274.3 MB, free: 15.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001191/0.009946, allocations: 115.2 kB / 274.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.009959, allocations: 4 kB / 274.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.009965, allocations: 0 / 274.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.009978, allocations: 7.984 kB / 274.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.01009, allocations: 39.98 kB / 274.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.0101, allocations: 4 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.224e-05/0.01014, allocations: 8 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.01015, allocations: 0 / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001107/0.01026, allocations: 136.5 kB / 274.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.01028, allocations: 19.98 kB / 274.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.01045, allocations: 124.6 kB / 274.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01046, allocations: 4 kB / 274.7 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.01046, allocations: 0 / 274.7 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.01047, allocations: 3.984 kB / 274.7 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.01083, allocations: 0.4954 MB / 275.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01084, allocations: 0 / 275.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.01089, allocations: 35.92 kB / 275.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.01091, allocations: 24.56 kB / 275.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01091, allocations: 0 / 275.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.01092, allocations: 7.984 kB / 275.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01092, allocations: 0 / 275.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01092, allocations: 0 / 275.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.01111, allocations: 379.1 kB / 275.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.01114, allocations: 15.98 kB / 275.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.01121, allocations: 7.938 kB / 275.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.01125, allocations: 27.84 kB / 275.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.01126, allocations: 4 kB / 275.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.732e-05/0.01136, allocations: 135.5 kB / 275.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01136, allocations: 0 / 275.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000194/0.01156, allocations: 43.92 kB / 275.9 MB, free: 13.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001373/0.01293, allocations: 0.6363 MB / 276.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.01307, allocations: 84.83 kB / 276.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.01308, allocations: 4 kB / 276.6 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.01313, allocations: 49.02 kB / 276.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.01343, allocations: 69.11 kB / 276.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/0.0141, allocations: 436.6 kB / 277.1 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.44e-05/0.01417, allocations: 87.97 kB / 277.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.95e-05/0.01424, allocations: 30.08 kB / 277.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.119e-05/0.01433, allocations: 91.36 kB / 277.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01433, allocations: 0 / 277.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of Templates: time 0.00517/0.0195, allocations: 3.232 MB / 280.6 MB, free: 8.738 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.9703201362863183]