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.001161/0.001161, allocations: 80.53 kB / 19.93 MB, free: 4.605 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.8703/0.8703, allocations: 177.2 MB / 200.2 MB, free: 5.93 MB / 186.7 MB " [Timeout remaining time 179] 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.001056/0.001056, allocations: 156.2 kB / 256.7 MB, free: 13.34 MB / 250.7 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.2557/0.2557, allocations: 80.37 MB / 393.5 MB, free: 2.371 MB / 314.7 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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.5562 GB, free: 12.12 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/1.999e-05, allocations: 6.219 kB / 0.5562 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003049/0.003069, allocations: 3.95 MB / 0.56 GB, free: 8.145 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.004403, allocations: 1.235 MB / 0.5612 GB, free: 6.906 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.00455, allocations: 4 kB / 0.5612 GB, free: 6.902 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.004814, allocations: 146.7 kB / 0.5614 GB, free: 6.758 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.00515, allocations: 273.8 kB / 0.5616 GB, free: 6.488 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000669/0.005819, allocations: 0.5151 MB / 0.5621 GB, free: 5.977 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007239/0.006543, allocations: 0.8365 MB / 0.5629 GB, free: 5.137 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.006738, allocations: 142.2 kB / 0.5631 GB, free: 4.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.007024, allocations: 486.8 kB / 0.5635 GB, free: 4.504 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.007307, allocations: 311 kB / 0.5638 GB, free: 4.199 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.753e-05/0.007364, allocations: 64 kB / 0.5639 GB, free: 4.137 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.007556, allocations: 139.8 kB / 0.564 GB, free: 4 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.007637, allocations: 171.3 kB / 0.5642 GB, free: 3.832 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.007803, allocations: 255.2 kB / 0.5644 GB, free: 3.582 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.008424, allocations: 0.9383 MB / 0.5654 GB, free: 2.641 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.008427, allocations: 4 kB / 0.5654 GB, free: 2.637 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.008427, allocations: 0 / 0.5654 GB, free: 2.637 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.008434, allocations: 0 / 0.5654 GB, free: 2.637 MB / 490.7 MB 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.002382/0.01082, allocations: 1.61 MB / 0.5669 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.01085, allocations: 8.031 kB / 0.5669 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.0121, allocations: 443.5 kB / 0.5674 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.01255, allocations: 443.4 kB / 0.5678 GB, free: 84 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.01273, allocations: 278.9 kB / 0.5681 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.0128, allocations: 52 kB / 0.5681 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008567/0.01366, allocations: 0.6936 MB / 0.5688 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.01367, allocations: 3.984 kB / 0.5688 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.01372, allocations: 24 kB / 0.5688 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.01373, allocations: 16 kB / 0.5688 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/0.01458, allocations: 0.6727 MB / 0.5695 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.017, allocations: 1.722 MB / 0.5712 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/0.02063, allocations: 1.746 MB / 0.5729 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.02117, allocations: 432 kB / 0.5733 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.493e-05/0.02123, allocations: 12.64 kB / 0.5733 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007007/0.02193, allocations: 0.5313 MB / 0.5738 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=75): time 2.534e-06/0.02193, allocations: 0 / 0.5738 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75): time 0.006513/0.02845, allocations: 3.352 MB / 0.5771 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.02849, allocations: 60.06 kB / 0.5771 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.02912, allocations: 0.5264 MB / 0.5777 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.02917, allocations: 41.7 kB / 0.5777 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.02932, allocations: 329.1 kB / 0.578 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.02947, allocations: 261.8 kB / 0.5783 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.02962, allocations: 126.6 kB / 0.5784 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.02972, allocations: 382.8 kB / 0.5787 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/0.03024, allocations: 405.8 kB / 0.5791 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005565/0.0308, allocations: 0.5029 MB / 0.5796 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004523/0.03532, allocations: 2.53 MB / 0.5821 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.03533, allocations: 0 / 0.5821 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003699/0.03903, allocations: 2.232 MB / 0.5843 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.03904, allocations: 4 kB / 0.5843 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.03905, allocations: 12 kB / 0.5843 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/0.04126, allocations: 0.9998 MB / 0.5853 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.04151, allocations: 111.8 kB / 0.5854 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005249/0.04675, allocations: 4.271 MB / 0.5895 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.0471, allocations: 107.5 kB / 0.5896 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.04713, allocations: 20 kB / 0.5897 GB, free: 9.312 MB / 0.5105 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.0002429/0.04738, allocations: 214.2 kB / 0.5899 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.04745, allocations: 83.41 kB / 0.5899 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/0.05132, allocations: 2.165 MB / 0.5921 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.05133, allocations: 4 kB / 0.5921 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.05133, allocations: 8 kB / 0.5921 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.05134, allocations: 7.984 kB / 0.5921 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004233/0.05557, allocations: 2.809 MB / 0.5948 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.05558, allocations: 0 / 0.5948 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.05578, allocations: 71.91 kB / 0.5949 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001913/0.05769, allocations: 1 MB / 0.5959 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/0.05774, allocations: 15.94 kB / 0.5959 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2022/0.2599, allocations: 4.218 MB / 0.6 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2599, allocations: 2.344 kB / 0.6 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004246/0.2642, allocations: 2.746 MB / 0.6027 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.2643, allocations: 82.17 kB / 0.6028 GB, free: 92.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.2644, allocations: 25.73 kB / 0.6028 GB, free: 92.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.2647, allocations: 49.25 kB / 0.6028 GB, free: 92.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/0.2649, allocations: 163.7 kB / 0.603 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.2649, allocations: 22.88 kB / 0.603 GB, free: 92.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002383/0.2652, allocations: 356.9 kB / 0.6034 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.2652, allocations: 0 / 0.6034 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000546/0.2657, allocations: 269.1 kB / 0.6036 GB, free: 92.51 MB / 0.5105 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.00017/0.2659, allocations: 122.7 kB / 0.6037 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002033/0.2679, allocations: 1.386 MB / 0.6051 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2679, allocations: 3.281 kB / 0.6051 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.2692, allocations: 0.9436 MB / 0.606 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.2695, allocations: 65.97 kB / 0.6061 GB, free: 91.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.2709, allocations: 1.27 MB / 0.6073 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.2711, allocations: 331.3 kB / 0.6076 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.2712, allocations: 57.05 kB / 0.6077 GB, free: 90.74 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/0.2712, allocations: 0 / 0.6077 GB, free: 90.74 MB / 0.5105 GB Notification: Performance of Templates: time 0.01536/0.2866, allocations: 18.5 MB / 0.6257 GB, free: 86.48 MB / 0.5105 GB " [Timeout remaining time 660] 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.038018516264856] Failed to read output from testmodel.py, exit status != 0: 0.29208963084965944 0.299223983 0.28951218500000003 Calling exit ...