Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001506/0.001506, allocations: 108.3 kB / 19.71 MB, free: 2.141 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.381/1.381, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001495/0.001495, allocations: 212.4 kB / 310 MB, free: 3.074 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5851/0.5851, allocations: 107.2 MB / 473.6 MB, free: 29.67 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL.Tests.Branches.Generic.ULTC") translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="OpenIPSL_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.002479/0.002479, allocations: 95.58 kB / 0.6342 GB, free: 29.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1281, allocations: 80.15 MB / 0.7125 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005364/0.1335, allocations: 3.966 MB / 0.7164 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.1358, allocations: 1.228 MB / 0.7176 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.136, allocations: 4 kB / 0.7176 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.1363, allocations: 150.8 kB / 0.7177 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.1369, allocations: 270 kB / 0.718 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.1381, allocations: 0.5124 MB / 0.7185 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007949/0.1389, allocations: 0.8056 MB / 0.7193 GB, free: 224 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.1392, allocations: 150.2 kB / 0.7194 GB, free: 56 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003599/0.1395, allocations: 338.7 kB / 0.7197 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004925/0.14, allocations: 378 kB / 0.7201 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-05/0.1401, allocations: 60 kB / 0.7202 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.1404, allocations: 135.8 kB / 0.7203 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.1406, allocations: 167.3 kB / 0.7204 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.1409, allocations: 322.2 kB / 0.7208 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009578/0.1418, allocations: 0.9296 MB / 0.7217 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1418, allocations: 4 kB / 0.7217 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1418, allocations: 0 / 0.7217 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.1419, allocations: 4 kB / 0.7217 GB, free: 13.74 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.004354/0.1462, allocations: 1.614 MB / 0.7232 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1462, allocations: 12.03 kB / 0.7233 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.1487, allocations: 431.5 kB / 0.7237 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008012/0.1495, allocations: 451.4 kB / 0.7241 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003442/0.1498, allocations: 274.9 kB / 0.7244 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.15, allocations: 56 kB / 0.7244 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.1514, allocations: 0.6975 MB / 0.7251 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1514, allocations: 0 / 0.7251 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/0.1515, allocations: 20 kB / 0.7251 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.1515, allocations: 19.94 kB / 0.7251 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.1529, allocations: 0.6688 MB / 0.7258 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003563/0.1565, allocations: 1.714 MB / 0.7275 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007235/0.1637, allocations: 1.748 MB / 0.7292 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009279/0.1647, allocations: 436.2 kB / 0.7296 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.37e-05/0.1647, allocations: 8.656 kB / 0.7296 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.1659, allocations: 0.5274 MB / 0.7301 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=75): time 2.275e-06/0.1659, allocations: 0 / 0.7301 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=75): time 0.0127/0.1786, allocations: 3.371 MB / 0.7334 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.1786, allocations: 60.06 kB / 0.7335 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006308/0.1792, allocations: 0.5148 MB / 0.734 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.096e-05/0.1793, allocations: 41.7 kB / 0.734 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.1796, allocations: 333 kB / 0.7343 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.1798, allocations: 265.7 kB / 0.7346 GB, free: 300 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.1801, allocations: 126.6 kB / 0.7347 GB, free: 168 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.1803, allocations: 382.8 kB / 0.7351 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00088/0.1811, allocations: 409.8 kB / 0.7354 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009621/0.1821, allocations: 0.5068 MB / 0.7359 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008717/0.1908, allocations: 2.515 MB / 0.7384 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1908, allocations: 0 / 0.7384 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007004/0.1978, allocations: 2.235 MB / 0.7406 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1979, allocations: 4 kB / 0.7406 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1979, allocations: 4 kB / 0.7406 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003843/0.2017, allocations: 1.005 MB / 0.7416 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.2022, allocations: 107.8 kB / 0.7417 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009187/0.2114, allocations: 4.269 MB / 0.7458 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007303/0.2121, allocations: 99.59 kB / 0.7459 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/0.2122, allocations: 31.92 kB / 0.746 GB, free: 4.414 MB / 0.5137 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.0003624/0.2125, allocations: 218.9 kB / 0.7462 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.2127, allocations: 75.53 kB / 0.7462 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007038/0.2197, allocations: 2.162 MB / 0.7484 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.2197, allocations: 11.94 kB / 0.7484 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2197, allocations: 0 / 0.7484 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.2197, allocations: 7.984 kB / 0.7484 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007977/0.2277, allocations: 2.805 MB / 0.7511 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2277, allocations: 192 / 0.7511 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.2281, allocations: 79.89 kB / 0.7512 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003825/0.2319, allocations: 1.01 MB / 0.7522 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/0.232, allocations: 15.98 kB / 0.7522 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008924/0.2409, allocations: 4.215 MB / 0.7563 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2409, allocations: 0 / 0.7563 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008067/0.249, allocations: 2.753 MB / 0.759 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.2492, allocations: 83.39 kB / 0.7591 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.2493, allocations: 27.92 kB / 0.7591 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/0.2499, allocations: 51.94 kB / 0.7592 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/0.2503, allocations: 160.3 kB / 0.7593 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/0.2503, allocations: 19.98 kB / 0.7593 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004009/0.2507, allocations: 358.8 kB / 0.7597 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2507, allocations: 0 / 0.7597 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007523/0.2515, allocations: 271.8 kB / 0.7599 GB, free: 5.898 MB / 0.5294 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.0001906/0.2517, allocations: 123.2 kB / 0.76 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003794/0.2554, allocations: 1.395 MB / 0.7614 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2554, allocations: 0 / 0.7614 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00269/0.2581, allocations: 0.9255 MB / 0.7623 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.2586, allocations: 63 kB / 0.7624 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.261, allocations: 1.339 MB / 0.7637 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.2613, allocations: 328.4 kB / 0.764 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.2615, allocations: 55.42 kB / 0.764 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.2615, allocations: 0 / 0.764 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of Templates: time 0.02215/0.2836, allocations: 18.5 MB / 0.7821 GB, free: 15.04 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.sim & ./OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.561315489932895] Failed to read output from testmodel.py, exit status != 0: 0.29131311317905784 0.305769842 0.16096015900000002 Calling exit ...