Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.0008491/0.0008491, allocations: 77.97 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.001336/0.001336, 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.8484/0.8484, 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.09861/0.09861, allocations: 19.75 MB / 281.5 MB, free: 9.117 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 358.4 MB, free: 7.395 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.925e-06/8.927e-06, allocations: 2.312 kB / 358.4 MB, free: 7.391 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.00252/0.002529, allocations: 3.081 MB / 361.5 MB, free: 4.293 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008587/0.003388, allocations: 0.8139 MB / 362.3 MB, free: 3.473 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.003518, allocations: 7.938 kB / 362.3 MB, free: 3.465 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.003648, allocations: 67.25 kB / 362.4 MB, free: 3.398 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.003886, allocations: 158.7 kB / 362.5 MB, free: 3.242 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.004051, allocations: 119.8 kB / 362.7 MB, free: 3.125 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.004374, allocations: 0.5409 MB / 363.2 MB, free: 2.582 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.004521, allocations: 97.97 kB / 363.3 MB, free: 2.477 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.004766, allocations: 311.1 kB / 363.6 MB, free: 2.172 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.004935, allocations: 171.4 kB / 363.8 MB, free: 2.004 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.004974, allocations: 32 kB / 363.8 MB, free: 1.973 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.011e-05/0.005034, allocations: 40 kB / 363.8 MB, free: 1.934 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.379e-05/0.005078, allocations: 91.59 kB / 363.9 MB, free: 1.844 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.452e-05/0.005162, allocations: 155.5 kB / 364.1 MB, free: 1.691 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.005406, allocations: 318.6 kB / 364.4 MB, free: 1.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.005408, allocations: 0 / 364.4 MB, free: 1.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005408, allocations: 0 / 364.4 MB, free: 1.379 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.005412, allocations: 0 / 364.4 MB, free: 1.379 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0007267/0.006139, allocations: 0.838 MB / 365.2 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.457e-05/0.006163, allocations: 12.03 kB / 365.2 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.876e-05/0.006262, allocations: 76.61 kB / 365.3 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.00651, allocations: 310.5 kB / 365.6 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.006526, allocations: 25.03 kB / 365.6 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.006562, allocations: 40.33 kB / 365.7 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.006797, allocations: 263.5 kB / 365.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.006809, allocations: 4.188 kB / 365.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.006827, allocations: 16.38 kB / 366 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.006835, allocations: 11.94 kB / 366 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.007015, allocations: 115 kB / 366.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.008357, allocations: 1.028 MB / 367.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.008656, allocations: 176.4 kB / 367.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.008764, allocations: 72.2 kB / 367.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.008794, allocations: 12.2 kB / 367.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.008815, allocations: 37.67 kB / 367.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.008816, allocations: 0 / 367.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.001284/0.0101, allocations: 0.6445 MB / 368 MB, free: 13.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.01013, allocations: 55.41 kB / 368.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.01044, allocations: 386.5 kB / 368.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.01047, allocations: 33.64 kB / 368.5 MB, free: 13.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.01062, allocations: 283.5 kB / 368.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.249e-05/0.01071, allocations: 134.8 kB / 368.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.01081, allocations: 75.81 kB / 369 MB, free: 12.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.01098, allocations: 0.5273 MB / 369.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.01105, allocations: 36.97 kB / 369.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.01117, allocations: 107.3 kB / 369.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.01138, allocations: 170.3 kB / 369.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01138, allocations: 4 kB / 369.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003493/0.01173, allocations: 265.1 kB / 370.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.01175, allocations: 4 kB / 370.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01175, allocations: 4 kB / 370.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.01176, allocations: 0 / 370.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/0.0123, allocations: 143.8 kB / 370.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009325/0.01324, allocations: 1.835 MB / 372.1 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.01341, allocations: 15.94 kB / 372.1 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.01344, allocations: 11.94 kB / 372.1 MB, free: 9.246 MB / 346.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 (48): * Single equations (assignments): 47 * 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 0.0001205/0.01356, allocations: 176.5 kB / 372.3 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.01364, allocations: 55.88 kB / 372.3 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.01395, allocations: 229.8 kB / 372.6 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.01395, allocations: 7.938 kB / 372.6 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01395, allocations: 0 / 372.6 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.01396, allocations: 3.984 kB / 372.6 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007384/0.0147, allocations: 0.5729 MB / 373.1 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.0147, allocations: 0 / 373.1 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.01502, allocations: 79.91 kB / 373.2 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01502, allocations: 0 / 373.2 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.01504, allocations: 8 kB / 373.2 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01505, allocations: 4 kB / 373.2 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.01505, allocations: 3.984 kB / 373.2 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.0155, allocations: 453.3 kB / 373.7 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.01562, allocations: 55.69 kB / 373.7 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.01566, allocations: 12 kB / 373.7 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.01583, allocations: 15.98 kB / 373.8 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.01588, allocations: 19.89 kB / 373.8 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.01589, allocations: 8 kB / 373.8 MB, free: 7.488 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.01603, allocations: 263 kB / 374 MB, free: 7.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.01603, allocations: 0 / 374 MB, free: 7.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000215/0.01625, allocations: 84 kB / 374.1 MB, free: 7.152 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.833e-05/0.01632, allocations: 104.9 kB / 374.2 MB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.01661, allocations: 204.5 kB / 374.4 MB, free: 6.836 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01661, allocations: 0 / 374.4 MB, free: 6.836 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.056e-05/0.01669, allocations: 95.92 kB / 374.5 MB, free: 6.738 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.01698, allocations: 79.67 kB / 374.6 MB, free: 6.664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.01816, allocations: 0.975 MB / 375.6 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.778e-05/0.01822, allocations: 121.1 kB / 375.7 MB, free: 5.516 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.01832, allocations: 39.25 kB / 375.7 MB, free: 5.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.01849, allocations: 142.2 kB / 375.9 MB, free: 5.34 MB / 346.7 MB Notification: Performance of SimCode: time 6.12e-07/0.0185, allocations: 0 / 375.9 MB, free: 5.34 MB / 346.7 MB Notification: Performance of Templates: time 0.006101/0.0246, allocations: 4.687 MB / 380.6 MB, free: 0.7266 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & (cd run_cvode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7_gbode.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7_gbode.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7_gbode.sim & (cd run_gbode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7_gbode.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7_ida.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7_ida.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7_ida.sim & (cd run_ida && ../ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.470821746625006]