Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.0008296/0.0008296, 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.0008525/0.0008525, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.8665/0.8665, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.08403/0.08403, allocations: 19.75 MB / 281.5 MB, free: 9.113 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.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 358.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.431e-05, allocations: 5.406 kB / 358.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.00214/0.002154, allocations: 2.309 MB / 360.7 MB, free: 4 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007158/0.00287, allocations: 0.6271 MB / 361.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.516e-05/0.002965, allocations: 7.938 kB / 361.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.003076, allocations: 27.66 kB / 361.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.003245, allocations: 91.22 kB / 361.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.003362, allocations: 63.84 kB / 361.5 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.003573, allocations: 298.6 kB / 361.8 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.003678, allocations: 49.58 kB / 361.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.00386, allocations: 171.5 kB / 362.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.003982, allocations: 87.7 kB / 362.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.004007, allocations: 20 kB / 362.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.685e-05/0.004054, allocations: 27.94 kB / 362.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.004087, allocations: 55.75 kB / 362.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.00414, allocations: 83.75 kB / 362.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.004314, allocations: 163.3 kB / 362.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004316, allocations: 0 / 362.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004316, allocations: 0 / 362.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.297e-06/0.00432, allocations: 0 / 362.5 MB, free: 2.242 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005327/0.004852, allocations: 0.5967 MB / 363.1 MB, free: 1.609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.498e-05/0.004877, allocations: 8.031 kB / 363.1 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/0.004961, allocations: 44.69 kB / 363.1 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.005141, allocations: 215.5 kB / 363.3 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/0.005197, allocations: 67.97 kB / 363.4 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.005219, allocations: 16.38 kB / 363.4 MB, free: 1.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.005379, allocations: 158 kB / 363.6 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.005388, allocations: 4.188 kB / 363.6 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.0054, allocations: 7.938 kB / 363.6 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.005419, allocations: 4 kB / 363.6 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.005496, allocations: 63.62 kB / 363.7 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.006014, allocations: 0.5727 MB / 364.2 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.006167, allocations: 103 kB / 364.3 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.006209, allocations: 39.67 kB / 364.4 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.006221, allocations: 8 kB / 364.4 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.006236, allocations: 37.39 kB / 364.4 MB, free: 168 kB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.006237, allocations: 3.938 kB / 364.4 MB, free: 164 kB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004218/0.006659, allocations: 367 kB / 364.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.006682, allocations: 55.41 kB / 364.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.006864, allocations: 276.2 kB / 365.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.006877, allocations: 29.7 kB / 365.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.006948, allocations: 191.3 kB / 365.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.006981, allocations: 71.36 kB / 365.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.00703, allocations: 63.28 kB / 365.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.007128, allocations: 0.504 MB / 365.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3e-05/0.007158, allocations: 23.92 kB / 366 MB, free: 14.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-05/0.0072, allocations: 51.33 kB / 366 MB, free: 14.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.353e-05/0.007273, allocations: 73.58 kB / 366.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007274, allocations: 4 kB / 366.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001307/0.007405, allocations: 148.1 kB / 366.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.007415, allocations: 4 kB / 366.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.00742, allocations: 4 kB / 366.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/0.007427, allocations: 32 / 366.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.007637, allocations: 79.89 kB / 366.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.007639, allocations: 0 / 366.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.007698, allocations: 8 kB / 366.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.007708, allocations: 7.984 kB / 366.3 MB, free: 14.12 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: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 6.756e-05/0.007776, allocations: 164.6 kB / 366.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.007809, allocations: 31.78 kB / 366.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.007849, allocations: 30.12 kB / 366.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.007852, allocations: 7.984 kB / 366.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.007853, allocations: 3.938 kB / 366.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.007856, allocations: 4 kB / 366.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.00828, allocations: 417.9 kB / 367 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.008282, allocations: 3.938 kB / 367 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.008461, allocations: 59.91 kB / 367.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.008462, allocations: 0 / 367.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.008471, allocations: 8 kB / 367.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.008472, allocations: 0 / 367.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.008473, allocations: 4 kB / 367.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.008674, allocations: 310 kB / 367.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.008717, allocations: 39.72 kB / 367.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.008736, allocations: 7.984 kB / 367.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.008803, allocations: 8 kB / 367.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.008835, allocations: 11.97 kB / 367.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.008843, allocations: 7.938 kB / 367.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.264e-05/0.008916, allocations: 193.1 kB / 367.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008916, allocations: 0 / 367.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.009082, allocations: 44 kB / 367.7 MB, free: 12.73 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: 1 (BreakerCommand.y) * 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 5.765e-05/0.00914, allocations: 99.25 kB / 367.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.009248, allocations: 79.58 kB / 367.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.009249, allocations: 0 / 367.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.807e-05/0.009297, allocations: 59.58 kB / 367.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.009527, allocations: 50.41 kB / 368 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/0.01031, allocations: 0.5606 MB / 368.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.01035, allocations: 84.2 kB / 368.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.0104, allocations: 21.94 kB / 368.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/0.01049, allocations: 102.2 kB / 368.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01049, allocations: 0 / 368.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of Templates: time 0.003766/0.01426, allocations: 2.22 MB / 370.9 MB, free: 9.422 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & (cd run_cvode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3_gbode.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3_gbode.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3_gbode.sim & (cd run_gbode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3_gbode.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3_ida.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3_ida.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3_ida.sim & (cd run_ida && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4040314848534763]