Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.001339/0.001339, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001252/0.001252, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1472/0.1472, allocations: 32.8 MB / 295.4 MB, free: 15.41 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 4 kB / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.229e-05, allocations: 6.312 kB / 377.4 MB, free: 25.53 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00469/0.004712, allocations: 1.743 MB / 379.1 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009919/0.005704, allocations: 0.9936 MB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.005778, allocations: 0 / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.006005, allocations: 43.7 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.006279, allocations: 99.47 kB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.006466, allocations: 79.61 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.006607, allocations: 111.6 kB / 380.4 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.831e-05/0.006685, allocations: 4 kB / 380.4 MB, free: 22.44 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.006765, allocations: 55.81 kB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.518e-05/0.00683, allocations: 31.86 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.006844, allocations: 4 kB / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.37e-05/0.006918, allocations: 43.92 kB / 380.6 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.006961, allocations: 27.91 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.006989, allocations: 15.94 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.007128, allocations: 103.6 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.007131, allocations: 0 / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007132, allocations: 3.938 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.007137, allocations: 0 / 380.7 MB, free: 22.16 MB / 314.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.0002986/0.007436, allocations: 447.8 kB / 381.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.007465, allocations: 19.98 kB / 381.2 MB, free: 21.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.007497, allocations: 20.84 kB / 381.2 MB, free: 21.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.007621, allocations: 150.5 kB / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.007635, allocations: 4.375 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.007649, allocations: 384 / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.826e-05/0.007727, allocations: 62.94 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.007736, allocations: 3.938 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.007742, allocations: 0 / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.007745, allocations: 0 / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.338e-05/0.007769, allocations: 15.92 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.007944, allocations: 260.3 kB / 381.7 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.008013, allocations: 51.16 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.008032, allocations: 23.67 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.008041, allocations: 0 / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.185e-05/0.008103, allocations: 68.92 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.008104, allocations: 0 / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002539/0.008357, allocations: 133.5 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.008376, allocations: 51.41 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.455e-05/0.00845, allocations: 233.8 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.008458, allocations: 29.7 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.008494, allocations: 150.8 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.008516, allocations: 23.78 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.008544, allocations: 35.3 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.312e-05/0.008587, allocations: 0.5001 MB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.0086, allocations: 8 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.008623, allocations: 27.36 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.00866, allocations: 51.28 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.008661, allocations: 0 / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.867e-05/0.008739, allocations: 93.47 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.008751, allocations: 9.875 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.008756, allocations: 0 / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.008764, allocations: 0 / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/0.008815, allocations: 12.38 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.008818, allocations: 7.984 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.008845, allocations: 0 / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.008851, allocations: 8 kB / 383.2 MB, free: 19.48 MB / 314.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 4.728e-05/0.008898, allocations: 164.6 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.008913, allocations: 19.78 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.009017, allocations: 107.3 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.009018, allocations: 4 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.00902, allocations: 0 / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.009023, allocations: 0 / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.009209, allocations: 361.6 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.00921, allocations: 0 / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.009232, allocations: 11.94 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.009233, allocations: 0 / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.00924, allocations: 4 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.009241, allocations: 0 / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.009243, allocations: 8.016 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.178e-05/0.009334, allocations: 255.4 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.009343, allocations: 11.94 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.009358, allocations: 8 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.0094, allocations: 0 / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.009424, allocations: 7.984 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.009434, allocations: 4 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.049e-05/0.009475, allocations: 167.1 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009475, allocations: 0 / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.009647, allocations: 27.92 kB / 384.3 MB, free: 18.27 MB / 314.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.0008582/0.0105, allocations: 445.3 kB / 384.7 MB, free: 18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.956e-05/0.01059, allocations: 51.53 kB / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.31e-07/0.0106, allocations: 0 / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/0.01063, allocations: 31.61 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.01084, allocations: 32.22 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.01112, allocations: 219.9 kB / 385.1 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.032e-05/0.01115, allocations: 75.31 kB / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.509e-05/0.01118, allocations: 16.97 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.01124, allocations: 90.19 kB / 385.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01124, allocations: 0 / 385.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of Templates: time 0.003155/0.0144, allocations: 2.06 MB / 387.3 MB, free: 15.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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: 3.2433459949679673]