Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.00101/0.00101, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0008788/0.0008788, allocations: 172.5 kB / 24.82 MB, free: 9.273 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.059/1.059, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3465/0.3465, allocations: 34.27 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.997e-05/4.2e-05, allocations: 2.312 kB / 378.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003497/0.003539, allocations: 1.75 MB / 380.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.005107, allocations: 0.9966 MB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.005212, allocations: 0 / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.005566, allocations: 51.64 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.005877, allocations: 99.53 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.006049, allocations: 79.66 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.006223, allocations: 107.6 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.00634, allocations: 11.98 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.804e-05/0.006438, allocations: 51.84 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.335e-05/0.006522, allocations: 27.89 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.006541, allocations: 7.938 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.006648, allocations: 47.92 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.006703, allocations: 23.92 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.006742, allocations: 19.92 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.006931, allocations: 107.6 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006935, allocations: 0 / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.006937, allocations: 0 / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.006941, allocations: 0 / 382 MB, free: 14.91 MB / 362.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.0005223/0.007463, allocations: 451.8 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.007506, allocations: 8.031 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.007555, allocations: 20.81 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.007716, allocations: 156.9 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.007733, allocations: 12.36 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.00775, allocations: 4.375 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.007878, allocations: 58.94 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.00789, allocations: 3.938 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.007897, allocations: 0 / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.007902, allocations: 0 / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.00793, allocations: 15.98 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.0082, allocations: 256.4 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.008307, allocations: 51.16 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.008336, allocations: 23.67 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.008354, allocations: 0 / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.00849, allocations: 76.86 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.008492, allocations: 0 / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004074/0.008899, allocations: 137.4 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.008935, allocations: 51.41 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.009087, allocations: 233.8 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.009104, allocations: 29.7 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.009178, allocations: 154.8 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.009216, allocations: 27.78 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.009254, allocations: 31.36 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.009413, allocations: 0.5001 MB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.009437, allocations: 7.984 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.953e-05/0.009476, allocations: 31.36 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.097e-05/0.009537, allocations: 43.38 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.009539, allocations: 0 / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001274/0.009667, allocations: 97.5 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.009688, allocations: 6.5 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.009695, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.009713, allocations: 8.031 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.7e-05/0.0098, allocations: 20.3 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.009804, allocations: 0 / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.009837, allocations: 12 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.009843, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.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 8.962e-05/0.009933, allocations: 156.6 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.00996, allocations: 23.84 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.01011, allocations: 99.06 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01011, allocations: 0 / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01011, allocations: 0 / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.01012, allocations: 11.98 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.01041, allocations: 357.6 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01041, allocations: 0 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.01044, allocations: 12 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.01045, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.01045, allocations: 3.984 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.01046, allocations: 7.938 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01046, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.0106, allocations: 255.4 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.01062, allocations: 15.92 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.01063, allocations: 4 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.327e-05/0.01068, allocations: 0 / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.01071, allocations: 11.98 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.01073, allocations: 4 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.274e-05/0.0108, allocations: 172.2 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0108, allocations: 0 / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.01098, allocations: 23.94 kB / 385.6 MB, free: 11 MB / 362.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.00104/0.01202, allocations: 433.7 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.01214, allocations: 59.58 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01214, allocations: 0 / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.041e-05/0.01218, allocations: 31.61 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.01244, allocations: 45.62 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.01284, allocations: 229.8 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.105e-05/0.0129, allocations: 67.34 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.309e-05/0.01295, allocations: 17.09 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.01303, allocations: 86.19 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01304, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.004215/0.01725, allocations: 2.035 MB / 388.6 MB, free: 8.137 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.4235405758954585]