Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.0008558/0.0008558, 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.0009154/0.0009154, allocations: 168 kB / 24.82 MB, free: 9.258 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.87/0.87, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.08005/0.08005, allocations: 19.75 MB / 281.5 MB, free: 9.082 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 358.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.272e-05, allocations: 2.312 kB / 358.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.003227/0.003239, allocations: 2.92 MB / 361.3 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009455/0.004185, allocations: 0.7946 MB / 362.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.004318, allocations: 11.94 kB / 362.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.004444, allocations: 51.39 kB / 362.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.004687, allocations: 154.7 kB / 362.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.004858, allocations: 111.8 kB / 362.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.005192, allocations: 0.5059 MB / 363 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.005339, allocations: 96.61 kB / 363 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.005599, allocations: 283.2 kB / 363.3 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.005757, allocations: 155.4 kB / 363.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.005795, allocations: 32 kB / 363.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.809e-05/0.005853, allocations: 39.98 kB / 363.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.072e-05/0.005904, allocations: 91.59 kB / 363.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.504e-05/0.005989, allocations: 139.6 kB / 363.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.006236, allocations: 298.6 kB / 364.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.006238, allocations: 0 / 364.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006239, allocations: 0 / 364.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.006243, allocations: 0 / 364.1 MB, free: 0.6641 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.000736/0.006979, allocations: 0.7914 MB / 364.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.621e-05/0.007005, allocations: 8.625 kB / 364.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.007108, allocations: 76.61 kB / 364.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.007352, allocations: 294.7 kB / 365.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.007368, allocations: 21.03 kB / 365.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.007403, allocations: 40.33 kB / 365.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.007626, allocations: 247.6 kB / 365.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.007638, allocations: 192 / 365.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.007655, allocations: 15.94 kB / 365.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.007661, allocations: 8 kB / 365.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.007789, allocations: 115 kB / 365.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008555/0.008645, allocations: 0.9812 MB / 366.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.00881, allocations: 173.3 kB / 366.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.8e-05/0.008878, allocations: 71.08 kB / 366.9 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.008899, allocations: 8 kB / 366.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.008917, allocations: 49.31 kB / 366.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.112e-06/0.008919, allocations: 0 / 366.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007355/0.009654, allocations: 0.5745 MB / 367.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.009677, allocations: 59.41 kB / 367.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.009878, allocations: 374.5 kB / 367.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.009895, allocations: 33.7 kB / 368 MB, free: 12.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.009999, allocations: 263.2 kB / 368.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.01006, allocations: 122.9 kB / 368.3 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.01013, allocations: 83.64 kB / 368.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.01025, allocations: 0.5195 MB / 368.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.01029, allocations: 36.72 kB / 369 MB, free: 11.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.35e-05/0.01037, allocations: 107.6 kB / 369.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.01051, allocations: 158.2 kB / 369.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01051, allocations: 0 / 369.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004339/0.01095, allocations: 332 kB / 369.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.01096, allocations: 10.94 kB / 369.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01096, allocations: 4 kB / 369.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003584/0.01132, allocations: 131.5 kB / 369.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.01153, allocations: 91.88 kB / 369.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.01342, allocations: 3.878 MB / 373.7 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.01352, allocations: 11.98 kB / 373.7 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.01354, allocations: 12 kB / 373.7 MB, free: 6.488 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 8.696e-05/0.01363, allocations: 172.5 kB / 373.9 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.01367, allocations: 51.7 kB / 373.9 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.01388, allocations: 221.7 kB / 374.1 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01388, allocations: 7.984 kB / 374.1 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01388, allocations: 0 / 374.1 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01389, allocations: 7.922 kB / 374.2 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.01433, allocations: 0.5457 MB / 374.7 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01433, allocations: 3.938 kB / 374.7 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.01453, allocations: 83.89 kB / 374.8 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.01454, allocations: 4 kB / 374.8 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.01455, allocations: 8 kB / 374.8 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01455, allocations: 0 / 374.8 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.6e-07/0.01455, allocations: 0 / 374.8 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.01482, allocations: 424.9 kB / 375.2 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.01489, allocations: 59.69 kB / 375.3 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.01492, allocations: 7.984 kB / 375.3 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.594e-05/0.01501, allocations: 8 kB / 375.3 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.01504, allocations: 23.95 kB / 375.3 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.01505, allocations: 4 kB / 375.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.01516, allocations: 251 kB / 375.6 MB, free: 4.562 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01516, allocations: 0 / 375.6 MB, free: 4.562 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.01538, allocations: 92 kB / 375.6 MB, free: 4.473 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y) * 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 (34): * Single equations (assignments): 34 * 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.122e-05/0.01544, allocations: 99.19 kB / 375.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006363/0.01608, allocations: 413.5 kB / 376.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01608, allocations: 0 / 376.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.01616, allocations: 91.5 kB / 376.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.01644, allocations: 85.31 kB / 376.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.01755, allocations: 0.9095 MB / 377.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.414e-05/0.0176, allocations: 109.3 kB / 377.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.495e-05/0.0177, allocations: 54.81 kB / 377.4 MB, free: 2.633 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.01784, allocations: 130.2 kB / 377.5 MB, free: 2.504 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01784, allocations: 0 / 377.5 MB, free: 2.504 MB / 298.7 MB Notification: Performance of Templates: time 0.006034/0.02388, allocations: 4.872 MB / 382.4 MB, free: 13.7 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & (cd run_cvode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6_gbode.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6_gbode.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6_gbode.sim & (cd run_gbode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6_gbode.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6_ida.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6_ida.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6_ida.sim & (cd run_ida && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.447998203802854]