Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.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.001509/0.001509, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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 1.632/1.632, allocations: 230.6 MB / 252.7 MB, free: 8.086 MB / 206.1 MB " [Timeout remaining time 178] 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.001841/0.001841, allocations: 210.9 kB / 309.2 MB, free: 2.992 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.621/0.621, allocations: 107.3 MB / 473 MB, free: 4.453 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002775/0.002775, allocations: 87.88 kB / 0.6337 GB, free: 4.469 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4409, allocations: 80.17 MB / 0.712 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.004471/0.4454, allocations: 3.961 MB / 0.7158 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.448, allocations: 1.231 MB / 0.717 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006233/0.4486, allocations: 4 kB / 0.7171 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005908/0.4492, allocations: 145.6 kB / 0.7172 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009677/0.4502, allocations: 262.1 kB / 0.7174 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.4515, allocations: 0.5269 MB / 0.718 GB, free: 360 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009817/0.4525, allocations: 0.808 MB / 0.7187 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.4529, allocations: 134.5 kB / 0.7189 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/0.4534, allocations: 342.8 kB / 0.7192 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007661/0.4542, allocations: 376 kB / 0.7196 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.4544, allocations: 63 kB / 0.7196 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005099/0.4549, allocations: 135.4 kB / 0.7197 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.4551, allocations: 170.4 kB / 0.7199 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.4556, allocations: 321.7 kB / 0.7202 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.4568, allocations: 0.9309 MB / 0.7211 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4568, allocations: 0 / 0.7211 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4568, allocations: 3.938 kB / 0.7211 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.581e-05/0.4569, allocations: 0 / 0.7211 GB, free: 14.76 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005181/0.4621, allocations: 1.615 MB / 0.7227 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4621, allocations: 10.14 kB / 0.7227 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002795/0.4649, allocations: 434.8 kB / 0.7231 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008339/0.4657, allocations: 443.3 kB / 0.7236 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002918/0.466, allocations: 283 kB / 0.7238 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.4661, allocations: 55.78 kB / 0.7239 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.4676, allocations: 0.6992 MB / 0.7246 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.4676, allocations: 0 / 0.7246 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/0.4677, allocations: 20.83 kB / 0.7246 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.4677, allocations: 19.36 kB / 0.7246 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.4691, allocations: 0.6747 MB / 0.7253 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.473, allocations: 1.713 MB / 0.7269 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007968/0.481, allocations: 1.744 MB / 0.7286 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.482, allocations: 439 kB / 0.729 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.567e-05/0.4821, allocations: 9.891 kB / 0.7291 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/0.4834, allocations: 0.5219 MB / 0.7296 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=75): time 3.115e-06/0.4834, allocations: 1.281 kB / 0.7296 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=75): time 0.01388/0.4973, allocations: 3.373 MB / 0.7329 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.4973, allocations: 59.69 kB / 0.7329 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000705/0.498, allocations: 0.5103 MB / 0.7334 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.4982, allocations: 46.81 kB / 0.7335 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.4985, allocations: 327.9 kB / 0.7338 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/0.4987, allocations: 268.3 kB / 0.734 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.499, allocations: 126.2 kB / 0.7342 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.4992, allocations: 382.5 kB / 0.7345 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000916/0.5001, allocations: 408.9 kB / 0.7349 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.5011, allocations: 0.4987 MB / 0.7354 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009346/0.5105, allocations: 2.531 MB / 0.7379 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.5105, allocations: 0 / 0.7379 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007483/0.518, allocations: 2.229 MB / 0.74 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.518, allocations: 5.875 kB / 0.74 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.518, allocations: 2.312 kB / 0.74 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00406/0.5221, allocations: 1.001 MB / 0.741 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/0.5226, allocations: 110.3 kB / 0.7411 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009684/0.5323, allocations: 4.288 MB / 0.7453 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009116/0.5332, allocations: 99.88 kB / 0.7454 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.5333, allocations: 22.75 kB / 0.7454 GB, free: 1.965 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: ultc.y3l0:DISCRETE(fixed = true ) \"Loop breaker for when-clauses\" type: Boolean ultc.y2l0:DISCRETE(fixed = true ) \"Loop breaker for when-clauses\" type: Boolean load.xp:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real load.xq:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.ultc.zeroCrossing.enable,$PRE.ultc.zeroCrossing.u_pos,$PRE.ultc.zeroCrossing.disable,$PRE.ultc.y3l0,$PRE.ultc.y2l0,ultc.zeroCrossing.enable,ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.zeroCrossing.y,$whenCondition2,$whenCondition1,ultc.y3l0,ultc.y2l0,ultc.m,$PRE.ultc.m) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * 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 {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004324/0.5337, allocations: 217.2 kB / 0.7456 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.5339, allocations: 76.28 kB / 0.7457 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007488/0.5413, allocations: 2.162 MB / 0.7478 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.5414, allocations: 7.562 kB / 0.7478 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.5414, allocations: 0 / 0.7478 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.5414, allocations: 4.609 kB / 0.7478 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0087/0.5501, allocations: 2.815 MB / 0.7506 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.5501, allocations: 4 kB / 0.7506 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.5506, allocations: 74.88 kB / 0.7507 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004116/0.5547, allocations: 0.9984 MB / 0.7516 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.5548, allocations: 15.94 kB / 0.7517 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009797/0.5646, allocations: 4.227 MB / 0.7558 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5646, allocations: 0 / 0.7558 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008763/0.5733, allocations: 2.753 MB / 0.7585 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.5736, allocations: 83.33 kB / 0.7586 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.5737, allocations: 15.94 kB / 0.7586 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/0.5743, allocations: 59.92 kB / 0.7586 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004183/0.5748, allocations: 156.3 kB / 0.7588 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/0.5748, allocations: 27.98 kB / 0.7588 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004384/0.5753, allocations: 358.8 kB / 0.7591 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5753, allocations: 0 / 0.7591 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008549/0.5761, allocations: 263.8 kB / 0.7594 GB, free: 6.066 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ultc.x1,load.xp,load.xq) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,ultc.m,ultc.y2l0,ultc.y3l0,ultc.zeroCrossing.y,ultc.zeroCrossing.disable,ultc.zeroCrossing.u_pos) * Number of discrete states: 5 (ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.y2l0,ultc.y3l0,ultc.m) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * 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 {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002112/0.5763, allocations: 129.8 kB / 0.7595 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004034/0.5804, allocations: 1.391 MB / 0.7609 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5804, allocations: 4 kB / 0.7609 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002787/0.5831, allocations: 0.9294 MB / 0.7618 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.5836, allocations: 67.55 kB / 0.7619 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.586, allocations: 1.298 MB / 0.7631 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.5864, allocations: 332.4 kB / 0.7634 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.5866, allocations: 64.88 kB / 0.7635 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.5867, allocations: 55.42 kB / 0.7635 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.5867, allocations: 0 / 0.7635 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of Templates: time 0.02533/0.6121, allocations: 15.45 MB / 0.7786 GB, free: 2.297 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.846057092770934] Failed to read output from testmodel.py, exit status != 0: 0.6216620672494173 0.637007228 0.17680075499999995 Calling exit ...