Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.001208/0.001208, allocations: 77.88 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.001316/0.001316, allocations: 170.4 kB / 24.82 MB, free: 9.324 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 0.8508/0.8508, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09426/0.09426, allocations: 19.73 MB / 281.5 MB, free: 9.086 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 358.4 MB, free: 7.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.017e-06/1.053e-05, allocations: 2.312 kB / 358.4 MB, free: 7.41 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002038/0.002049, allocations: 2.103 MB / 360.5 MB, free: 5.293 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006922/0.002741, allocations: 0.5841 MB / 361.1 MB, free: 4.703 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.002826, allocations: 4 kB / 361.1 MB, free: 4.699 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.872e-05/0.002925, allocations: 19.73 kB / 361.1 MB, free: 4.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.003076, allocations: 71.42 kB / 361.2 MB, free: 4.609 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.003181, allocations: 47.92 kB / 361.2 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.003351, allocations: 222.8 kB / 361.4 MB, free: 4.344 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.461e-05/0.003435, allocations: 24.52 kB / 361.5 MB, free: 4.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.003588, allocations: 127.7 kB / 361.6 MB, free: 4.195 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.86e-05/0.003686, allocations: 55.81 kB / 361.6 MB, free: 4.141 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.003707, allocations: 12 kB / 361.7 MB, free: 4.129 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.091e-05/0.003748, allocations: 19.94 kB / 361.7 MB, free: 4.109 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.003772, allocations: 43.77 kB / 361.7 MB, free: 4.066 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.003873, allocations: 59.83 kB / 361.8 MB, free: 4.008 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.004015, allocations: 115.5 kB / 361.9 MB, free: 3.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004017, allocations: 3.938 kB / 361.9 MB, free: 3.891 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004017, allocations: 0 / 361.9 MB, free: 3.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.004021, allocations: 0 / 361.9 MB, free: 3.891 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004458/0.004466, allocations: 0.5191 MB / 362.4 MB, free: 3.336 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.561e-05/0.004492, allocations: 12.03 kB / 362.4 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.34e-05/0.004565, allocations: 36.78 kB / 362.5 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.004723, allocations: 185.2 kB / 362.6 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.004735, allocations: 12.38 kB / 362.7 MB, free: 3.066 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.004757, allocations: 12.38 kB / 362.7 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.004877, allocations: 114.3 kB / 362.8 MB, free: 2.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.004885, allocations: 192 / 362.8 MB, free: 2.926 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.004894, allocations: 4.375 kB / 362.8 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.004901, allocations: 7.938 kB / 362.8 MB, free: 2.914 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.982e-05/0.004961, allocations: 55.77 kB / 362.8 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.005356, allocations: 0.4911 MB / 363.3 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.005484, allocations: 83.02 kB / 363.4 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.005511, allocations: 23.67 kB / 363.4 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.005523, allocations: 7.938 kB / 363.4 MB, free: 2.207 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.00565, allocations: 37.39 kB / 363.5 MB, free: 2.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.005651, allocations: 0 / 363.5 MB, free: 2.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003464/0.005998, allocations: 286.3 kB / 363.8 MB, free: 1.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.006021, allocations: 55.41 kB / 363.8 MB, free: 1.777 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.006136, allocations: 253.5 kB / 364.1 MB, free: 1.512 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.006145, allocations: 25.7 kB / 364.1 MB, free: 1.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.006211, allocations: 175 kB / 364.3 MB, free: 1.301 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.006236, allocations: 51.53 kB / 364.3 MB, free: 1.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.006272, allocations: 39.34 kB / 364.4 MB, free: 1.203 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.006369, allocations: 0.4962 MB / 364.8 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.006387, allocations: 11.98 kB / 364.9 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.006419, allocations: 47.03 kB / 364.9 MB, free: 0.625 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.009e-05/0.006479, allocations: 82.22 kB / 365 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006481, allocations: 4 kB / 365 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.761e-05/0.006578, allocations: 101.5 kB / 365.1 MB, free: 436 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.006588, allocations: 8 kB / 365.1 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.006592, allocations: 0 / 365.1 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/0.006599, allocations: 0 / 365.1 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.883e-05/0.006688, allocations: 43.84 kB / 365.1 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.00669, allocations: 0 / 365.1 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.006739, allocations: 16 kB / 365.2 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.006747, allocations: 7.984 kB / 365.2 MB, free: 360 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 5.79e-05/0.006805, allocations: 156.6 kB / 365.3 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.006832, allocations: 23.86 kB / 365.3 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.006861, allocations: 25.45 kB / 365.4 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.006863, allocations: 0 / 365.4 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.006864, allocations: 4 kB / 365.4 MB, free: 140 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.006868, allocations: 3.938 kB / 365.4 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.007131, allocations: 362.1 kB / 365.7 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007132, allocations: 4 kB / 365.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.007214, allocations: 23.98 kB / 365.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.007216, allocations: 4 kB / 365.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.007223, allocations: 0 / 365.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.007223, allocations: 0 / 365.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007225, allocations: 7.875 kB / 365.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.007372, allocations: 255.8 kB / 366 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.007406, allocations: 27.84 kB / 366 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.00742, allocations: 0 / 366 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.007477, allocations: 15.92 kB / 366.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.007497, allocations: 7.984 kB / 366.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.007503, allocations: 4 kB / 366.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.801e-05/0.007571, allocations: 176.3 kB / 366.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007571, allocations: 4 kB / 366.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.00773, allocations: 28 kB / 366.3 MB, free: 15.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 5.756e-05/0.007788, allocations: 99.12 kB / 366.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.254e-05/0.00787, allocations: 62.83 kB / 366.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.007871, allocations: 0 / 366.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.932e-05/0.007901, allocations: 39.59 kB / 366.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.008123, allocations: 40.08 kB / 366.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009269/0.00905, allocations: 462.3 kB / 367 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.691e-05/0.009086, allocations: 71.83 kB / 367 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.015e-05/0.009127, allocations: 13.48 kB / 367 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.429e-05/0.009201, allocations: 94.19 kB / 367.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009201, allocations: 0 / 367.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of Templates: time 0.002969/0.01217, allocations: 1.719 MB / 368.9 MB, free: 12.56 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & (cd run_cvode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1_gbode.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1_gbode.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1_gbode.sim & (cd run_gbode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1_gbode.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1_ida.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1_ida.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1_ida.sim & (cd run_ida && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4024699833244085]