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.001387/0.001387, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.517/1.517, allocations: 230.6 MB / 252.7 MB, free: 14.29 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.001601/0.001601, allocations: 219.2 kB / 309.2 MB, free: 3.113 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.6913/0.6913, allocations: 107.2 MB / 472.8 MB, free: 29.84 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.002571/0.002571, allocations: 81.62 kB / 0.6335 GB, free: 29.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1456, allocations: 80.15 MB / 0.7118 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005513/0.1511, allocations: 3.962 MB / 0.7156 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.154, allocations: 1.224 MB / 0.7168 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003375/0.1543, allocations: 7.938 kB / 0.7168 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004294/0.1547, allocations: 146.8 kB / 0.717 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006387/0.1554, allocations: 266 kB / 0.7172 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.1567, allocations: 0.5132 MB / 0.7177 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008922/0.1576, allocations: 0.8096 MB / 0.7185 GB, free: 260 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.1579, allocations: 138.3 kB / 0.7187 GB, free: 104 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003701/0.1582, allocations: 350.6 kB / 0.719 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005035/0.1587, allocations: 374 kB / 0.7193 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.712e-05/0.1588, allocations: 64 kB / 0.7194 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.1592, allocations: 135.8 kB / 0.7195 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.1593, allocations: 167.3 kB / 0.7197 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.1596, allocations: 322.2 kB / 0.72 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.1607, allocations: 0.9296 MB / 0.7209 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1607, allocations: 0 / 0.7209 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1607, allocations: 4 kB / 0.7209 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.1607, allocations: 0 / 0.7209 GB, free: 13.78 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.004618/0.1653, allocations: 1.622 MB / 0.7225 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1654, allocations: 8.031 kB / 0.7225 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002618/0.168, allocations: 439.5 kB / 0.7229 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/0.1687, allocations: 439.5 kB / 0.7233 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000322/0.169, allocations: 278.8 kB / 0.7236 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.1692, allocations: 56 kB / 0.7237 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.1707, allocations: 0.7013 MB / 0.7244 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.1707, allocations: 0 / 0.7244 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.987e-05/0.1707, allocations: 24 kB / 0.7244 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.1708, allocations: 23.92 kB / 0.7244 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.1723, allocations: 0.6688 MB / 0.7251 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003783/0.1761, allocations: 1.718 MB / 0.7267 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007884/0.1839, allocations: 1.74 MB / 0.7284 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.1851, allocations: 436.2 kB / 0.7288 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.14e-05/0.1851, allocations: 8.656 kB / 0.7289 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/0.1863, allocations: 0.5197 MB / 0.7294 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=75): time 3.156e-06/0.1863, allocations: 0 / 0.7294 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=75): time 0.0138/0.2001, allocations: 3.363 MB / 0.7326 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.2002, allocations: 67.98 kB / 0.7327 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007182/0.2009, allocations: 0.5109 MB / 0.7332 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.774e-05/0.201, allocations: 45.69 kB / 0.7333 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.2013, allocations: 333 kB / 0.7336 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.2016, allocations: 269.7 kB / 0.7338 GB, free: 332 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.2019, allocations: 122.6 kB / 0.7339 GB, free: 204 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.2021, allocations: 382.8 kB / 0.7343 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009698/0.2031, allocations: 409.8 kB / 0.7347 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.2041, allocations: 0.499 MB / 0.7352 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00952/0.2136, allocations: 2.529 MB / 0.7377 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.2136, allocations: 0 / 0.7377 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007734/0.2214, allocations: 2.235 MB / 0.7398 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.2214, allocations: 4 kB / 0.7398 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.2214, allocations: 4 kB / 0.7398 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004238/0.2256, allocations: 0.9982 MB / 0.7408 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/0.2262, allocations: 115.8 kB / 0.7409 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.2364, allocations: 4.269 MB / 0.7451 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009475/0.2373, allocations: 99.5 kB / 0.7452 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.2374, allocations: 24 kB / 0.7452 GB, free: 4.453 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.0005394/0.238, allocations: 219 kB / 0.7454 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.2382, allocations: 75.53 kB / 0.7455 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007763/0.2459, allocations: 2.162 MB / 0.7476 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.2459, allocations: 8 kB / 0.7476 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.2459, allocations: 4 kB / 0.7476 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.246, allocations: 3.984 kB / 0.7476 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008749/0.2547, allocations: 2.813 MB / 0.7504 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.2547, allocations: 0 / 0.7504 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.2552, allocations: 75.91 kB / 0.7504 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004095/0.2593, allocations: 1.004 MB / 0.7514 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.2594, allocations: 16 kB / 0.7514 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/0.2696, allocations: 4.228 MB / 0.7556 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2696, allocations: 0 / 0.7556 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008798/0.2784, allocations: 2.749 MB / 0.7583 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.2786, allocations: 83.39 kB / 0.7583 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.2788, allocations: 19.94 kB / 0.7584 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/0.2795, allocations: 51.94 kB / 0.7584 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004607/0.28, allocations: 164.4 kB / 0.7586 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.561e-05/0.28, allocations: 20 kB / 0.7586 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004841/0.2805, allocations: 354.8 kB / 0.7589 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2805, allocations: 0 / 0.7589 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009578/0.2815, allocations: 272 kB / 0.7592 GB, free: 5.941 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.0002343/0.2817, allocations: 127 kB / 0.7593 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004269/0.286, allocations: 1.395 MB / 0.7607 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.286, allocations: 0 / 0.7607 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002988/0.289, allocations: 0.9255 MB / 0.7616 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.2895, allocations: 69.52 kB / 0.7616 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.2923, allocations: 1.304 MB / 0.7629 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.2927, allocations: 332.4 kB / 0.7632 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002417/0.293, allocations: 60.95 kB / 0.7633 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.2931, allocations: 51.42 kB / 0.7633 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.2931, allocations: 0 / 0.7633 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of Templates: time 0.02616/0.3193, allocations: 15.44 MB / 0.7784 GB, free: 2.184 MB / 0.545 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: 6.720259342342615] Failed to read output from testmodel.py, exit status != 0: 0.32778091356158257 0.34302565300000004 0.179159789 Calling exit ...