Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.0008463/0.0008463, allocations: 81.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.0008657/0.0008657, allocations: 168.6 kB / 24.82 MB, free: 8.926 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.8675/0.8675, 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.09957/0.09957, 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 358.4 MB, free: 7.395 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.387e-06/1.054e-05, allocations: 2.312 kB / 358.4 MB, free: 7.391 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002058/0.002069, allocations: 2.193 MB / 360.6 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009888/0.003058, allocations: 0.6114 MB / 361.2 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.003147, allocations: 3.938 kB / 361.2 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.00325, allocations: 31.66 kB / 361.3 MB, free: 4.531 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.003415, allocations: 75.34 kB / 361.3 MB, free: 4.457 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.003529, allocations: 55.92 kB / 361.4 MB, free: 4.402 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.003729, allocations: 258.7 kB / 361.6 MB, free: 4.148 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.003824, allocations: 32.58 kB / 361.7 MB, free: 4.117 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.003997, allocations: 147.6 kB / 361.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.004098, allocations: 79.72 kB / 361.9 MB, free: 3.895 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.00412, allocations: 16 kB / 361.9 MB, free: 3.879 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-05/0.004163, allocations: 19.94 kB / 361.9 MB, free: 3.859 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.004188, allocations: 39.83 kB / 362 MB, free: 3.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.004234, allocations: 75.77 kB / 362 MB, free: 3.746 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.004391, allocations: 151.3 kB / 362.2 MB, free: 3.598 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004392, allocations: 0 / 362.2 MB, free: 3.598 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.004393, allocations: 0 / 362.2 MB, free: 3.598 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.004396, allocations: 0 / 362.2 MB, free: 3.598 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004971/0.004893, allocations: 0.554 MB / 362.7 MB, free: 3.008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.546e-05/0.004919, allocations: 8.031 kB / 362.7 MB, free: 3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.548e-05/0.004994, allocations: 40.8 kB / 362.8 MB, free: 2.961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.005164, allocations: 203.6 kB / 363 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.005176, allocations: 16.36 kB / 363 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.005198, allocations: 12.38 kB / 363 MB, free: 2.711 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.005337, allocations: 134.2 kB / 363.1 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.005347, allocations: 4.141 kB / 363.2 MB, free: 2.559 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.005357, allocations: 8.312 kB / 363.2 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.005363, allocations: 7.938 kB / 363.2 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.665e-05/0.00543, allocations: 51.94 kB / 363.2 MB, free: 2.492 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.005883, allocations: 0.534 MB / 363.8 MB, free: 1.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.005987, allocations: 91.02 kB / 363.8 MB, free: 1.824 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.006024, allocations: 35.67 kB / 363.9 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.006037, allocations: 4 kB / 363.9 MB, free: 1.781 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.006052, allocations: 41.38 kB / 363.9 MB, free: 1.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 9.11e-07/0.006053, allocations: 0 / 363.9 MB, free: 1.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004251/0.006478, allocations: 364.6 kB / 364.3 MB, free: 1.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.006503, allocations: 59.41 kB / 364.3 MB, free: 1.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.006635, allocations: 268.2 kB / 364.6 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.006645, allocations: 25.7 kB / 364.6 MB, free: 0.957 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.006712, allocations: 195.1 kB / 364.8 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.006742, allocations: 59.42 kB / 364.9 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.006784, allocations: 51.33 kB / 364.9 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.006884, allocations: 0.504 MB / 365.4 MB, free: 132 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.006909, allocations: 19.98 kB / 365.4 MB, free: 112 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.006951, allocations: 61.45 kB / 365.5 MB, free: 40 kB / 330.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.007201, allocations: 165.3 kB / 365.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007202, allocations: 0 / 365.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001257/0.007328, allocations: 136.6 kB / 365.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.007337, allocations: 4 kB / 365.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.007341, allocations: 0 / 365.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.007348, allocations: 4 kB / 365.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.007473, allocations: 59.91 kB / 365.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.007477, allocations: 3.969 kB / 365.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/0.007534, allocations: 15.94 kB / 365.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.007541, allocations: 8 kB / 365.9 MB, free: 15.64 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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 7.58e-05/0.007617, allocations: 172.5 kB / 366.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.007647, allocations: 23.91 kB / 366.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.007681, allocations: 26.11 kB / 366.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.007684, allocations: 4 kB / 366.1 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.007686, allocations: 0 / 366.1 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.007689, allocations: 3.938 kB / 366.1 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.008011, allocations: 424.1 kB / 366.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008012, allocations: 0 / 366.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.008138, allocations: 43.97 kB / 366.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.008141, allocations: 4 kB / 366.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.008149, allocations: 4 kB / 366.6 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.008152, allocations: 3.938 kB / 366.6 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008152, allocations: 0 / 366.6 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.008344, allocations: 299.6 kB / 366.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.008385, allocations: 35.83 kB / 366.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.008403, allocations: 7.875 kB / 366.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.008467, allocations: 12 kB / 366.9 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.008494, allocations: 11.97 kB / 366.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.008503, allocations: 4 kB / 366.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.033e-05/0.008573, allocations: 185.1 kB / 367.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008573, allocations: 4 kB / 367.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.008744, allocations: 40 kB / 367.2 MB, free: 14.29 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 (18): * Single equations (assignments): 18 * 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.076e-05/0.008804, allocations: 95.19 kB / 367.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.008924, allocations: 91.52 kB / 367.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.008925, allocations: 3.938 kB / 367.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/0.008968, allocations: 54.78 kB / 367.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.009191, allocations: 40.47 kB / 367.5 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007474/0.009939, allocations: 0.4984 MB / 367.9 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.0102, allocations: 75.98 kB / 368 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.874e-05/0.01026, allocations: 29.62 kB / 368.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/0.01035, allocations: 98.19 kB / 368.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01035, allocations: 0 / 368.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of Templates: time 0.003407/0.01376, allocations: 2.206 MB / 370.4 MB, free: 11.08 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & (cd run_cvode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2_gbode.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2_gbode.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2_gbode.sim & (cd run_gbode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2_gbode.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2_ida.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2_ida.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2_ida.sim & (cd run_ida && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.38186403689906]