Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.0008311/0.0008311, 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.0008464/0.0008464, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.8702/0.8702, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.13/0.13, allocations: 19.75 MB / 281.6 MB, free: 9.074 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 358.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.17e-05, allocations: 6.25 kB / 358.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.0021/0.002111, allocations: 2.305 MB / 360.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007239/0.002835, allocations: 0.6309 MB / 361.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.861e-05/0.002934, allocations: 7.938 kB / 361.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.003036, allocations: 35.66 kB / 361.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.003205, allocations: 87.27 kB / 361.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.00332, allocations: 51.92 kB / 361.5 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.003522, allocations: 286.6 kB / 361.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.003624, allocations: 56.88 kB / 361.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.003791, allocations: 163.5 kB / 362 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.003899, allocations: 91.69 kB / 362.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.003923, allocations: 20 kB / 362.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.438e-05/0.003967, allocations: 20 kB / 362.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.003995, allocations: 47.77 kB / 362.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.004046, allocations: 79.77 kB / 362.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.004216, allocations: 163.3 kB / 362.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004218, allocations: 0 / 362.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004218, allocations: 4 kB / 362.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.004221, allocations: 0 / 362.4 MB, free: 2.277 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005146/0.004736, allocations: 0.5811 MB / 363 MB, free: 1.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.522e-05/0.004761, allocations: 8.031 kB / 363 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.477e-05/0.004836, allocations: 44.75 kB / 363.1 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.005008, allocations: 211.5 kB / 363.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.00502, allocations: 12.38 kB / 363.3 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.005045, allocations: 24.33 kB / 363.3 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.005198, allocations: 146 kB / 363.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.005207, allocations: 4.172 kB / 363.5 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.00522, allocations: 12.38 kB / 363.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.005226, allocations: 7.938 kB / 363.5 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.497e-05/0.005301, allocations: 53.23 kB / 363.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.005776, allocations: 0.565 MB / 364.1 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.005878, allocations: 95.02 kB / 364.2 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.005919, allocations: 47.66 kB / 364.2 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.005935, allocations: 0 / 364.2 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.005949, allocations: 37.39 kB / 364.3 MB, free: 316 kB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 8.92e-07/0.00595, allocations: 0 / 364.3 MB, free: 316 kB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004223/0.006372, allocations: 355.8 kB / 364.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.006396, allocations: 59.34 kB / 364.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.006526, allocations: 276.2 kB / 365 MB, free: 15.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.006539, allocations: 29.7 kB / 365 MB, free: 15.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.006606, allocations: 191.3 kB / 365.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.00664, allocations: 71.38 kB / 365.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.00668, allocations: 47.34 kB / 365.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.006783, allocations: 0.5079 MB / 365.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-05/0.006808, allocations: 15.98 kB / 365.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.006847, allocations: 51.33 kB / 365.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.073e-05/0.006918, allocations: 74.19 kB / 365.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.006919, allocations: 0 / 365.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001225/0.007041, allocations: 141.3 kB / 366.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.007052, allocations: 7.938 kB / 366.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.007056, allocations: 3.984 kB / 366.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.024e-06/0.007063, allocations: 8.031 kB / 366.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.00726, allocations: 71.89 kB / 366.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006576/0.007918, allocations: 1.815 MB / 368 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.154e-05/0.007979, allocations: 11.94 kB / 368 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.007987, allocations: 8.156 kB / 368 MB, free: 12.36 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.11e-05/0.008058, allocations: 180.4 kB / 368.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.008092, allocations: 27.86 kB / 368.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.008207, allocations: 134.5 kB / 368.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008209, allocations: 4 kB / 368.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.00821, allocations: 0 / 368.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.008213, allocations: 0 / 368.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.008514, allocations: 417.8 kB / 368.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.008515, allocations: 0 / 368.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.008627, allocations: 43.91 kB / 368.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.008629, allocations: 8 kB / 368.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.008638, allocations: 4 kB / 368.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.008638, allocations: 0 / 368.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.008639, allocations: 0 / 368.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.008815, allocations: 322.5 kB / 369.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.008854, allocations: 27.84 kB / 369.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.008869, allocations: 4 kB / 369.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.008934, allocations: 8 kB / 369.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.008959, allocations: 11.97 kB / 369.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.008964, allocations: 4 kB / 369.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.505e-05/0.009039, allocations: 197 kB / 369.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009039, allocations: 0 / 369.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.009208, allocations: 48 kB / 369.4 MB, free: 10.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * 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 (19): * Single equations (assignments): 19 * 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 6.045e-05/0.009269, allocations: 95.23 kB / 369.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.009517, allocations: 118.7 kB / 369.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.009518, allocations: 4.062 kB / 369.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.185e-05/0.00959, allocations: 59.55 kB / 369.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.009808, allocations: 40.45 kB / 369.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/0.01068, allocations: 0.5715 MB / 370.3 MB, free: 9.953 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.01072, allocations: 84.56 kB / 370.4 MB, free: 9.844 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.138e-05/0.01078, allocations: 25.62 kB / 370.4 MB, free: 9.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.01089, allocations: 102.2 kB / 370.5 MB, free: 9.719 MB / 298.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01089, allocations: 0 / 370.5 MB, free: 9.719 MB / 298.7 MB Notification: Performance of Templates: time 0.003921/0.01481, allocations: 2.609 MB / 373.1 MB, free: 7.148 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & (cd run_cvode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4_gbode.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4_gbode.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4_gbode.sim & (cd run_gbode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4_gbode.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4_ida.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4_ida.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4_ida.sim & (cd run_ida && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4736189688555896]