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.000752/0.000752, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.8255/0.8255, allocations: 177.1 MB / 200.2 MB, free: 5.938 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.001013/0.001013, allocations: 160 kB / 256.7 MB, free: 13.34 MB / 250.7 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.2568/0.2568, allocations: 80.25 MB / 393.4 MB, free: 2.434 MB / 314.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.556 GB, free: 12.21 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.691e-05, allocations: 2.281 kB / 0.556 GB, free: 12.21 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003066/0.003083, allocations: 3.955 MB / 0.5599 GB, free: 8.234 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.004429, allocations: 1.231 MB / 0.5611 GB, free: 7 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.004578, allocations: 4 kB / 0.5611 GB, free: 6.996 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.004837, allocations: 142.7 kB / 0.5612 GB, free: 6.855 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.00517, allocations: 277.8 kB / 0.5615 GB, free: 6.582 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.005869, allocations: 0.5217 MB / 0.562 GB, free: 6.062 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005018/0.006371, allocations: 0.8326 MB / 0.5628 GB, free: 5.227 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000456/0.006827, allocations: 142.2 kB / 0.5629 GB, free: 5.07 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.007122, allocations: 478.8 kB / 0.5634 GB, free: 4.602 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.007427, allocations: 315 kB / 0.5637 GB, free: 4.293 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.007487, allocations: 64 kB / 0.5637 GB, free: 4.23 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.007681, allocations: 135.8 kB / 0.5639 GB, free: 4.098 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.007765, allocations: 179.2 kB / 0.564 GB, free: 3.922 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.007927, allocations: 251.2 kB / 0.5643 GB, free: 3.676 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006332/0.008561, allocations: 0.946 MB / 0.5652 GB, free: 2.727 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.008563, allocations: 0 / 0.5652 GB, free: 2.727 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008564, allocations: 0 / 0.5652 GB, free: 2.727 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.008571, allocations: 0 / 0.5652 GB, free: 2.727 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.002306/0.01088, allocations: 1.61 MB / 0.5668 GB, free: 1.074 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.01091, allocations: 8.031 kB / 0.5668 GB, free: 1.066 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.01214, allocations: 439.5 kB / 0.5672 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.01258, allocations: 443.4 kB / 0.5676 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.01275, allocations: 274.9 kB / 0.5679 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-05/0.01282, allocations: 52 kB / 0.5679 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008561/0.01368, allocations: 0.7013 MB / 0.5686 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.01369, allocations: 0 / 0.5686 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/0.01374, allocations: 24 kB / 0.5687 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.01375, allocations: 12 kB / 0.5687 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008669/0.01462, allocations: 0.6766 MB / 0.5693 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.01701, allocations: 1.718 MB / 0.571 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003646/0.02066, allocations: 1.746 MB / 0.5727 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.0212, allocations: 435.1 kB / 0.5731 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.164e-05/0.02125, allocations: 12.64 kB / 0.5731 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000658/0.02191, allocations: 0.5197 MB / 0.5736 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=75): time 2.024e-06/0.02191, allocations: 4 kB / 0.5736 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75): time 0.006583/0.0285, allocations: 3.359 MB / 0.5769 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002792/0.02878, allocations: 64 kB / 0.577 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.02913, allocations: 0.5225 MB / 0.5775 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.02918, allocations: 41.7 kB / 0.5775 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.02933, allocations: 329.1 kB / 0.5778 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.02947, allocations: 265.7 kB / 0.5781 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.02961, allocations: 122.6 kB / 0.5782 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.02972, allocations: 382.8 kB / 0.5786 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.03025, allocations: 409.8 kB / 0.579 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.03082, allocations: 0.5068 MB / 0.5795 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004612/0.03543, allocations: 2.519 MB / 0.5819 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.03543, allocations: 8 kB / 0.5819 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003998/0.03943, allocations: 2.233 MB / 0.5841 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.03945, allocations: 4 kB / 0.5841 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.03945, allocations: 4 kB / 0.5841 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/0.04143, allocations: 0.9962 MB / 0.5851 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.04167, allocations: 115.8 kB / 0.5852 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005231/0.0469, allocations: 4.275 MB / 0.5894 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.04722, allocations: 103.5 kB / 0.5895 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.04726, allocations: 28 kB / 0.5895 GB, free: 9.398 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.0002165/0.04747, allocations: 202.3 kB / 0.5897 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.04755, allocations: 87.47 kB / 0.5898 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/0.05146, allocations: 2.165 MB / 0.5919 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.05146, allocations: 11.98 kB / 0.5919 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.05147, allocations: 3.938 kB / 0.5919 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.05147, allocations: 3.984 kB / 0.5919 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004266/0.05574, allocations: 2.805 MB / 0.5947 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.05574, allocations: 0 / 0.5947 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.05595, allocations: 79.91 kB / 0.5947 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/0.05788, allocations: 0.9927 MB / 0.5957 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.05792, allocations: 16 kB / 0.5957 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1927/0.2506, allocations: 4.222 MB / 0.5998 GB, free: 92.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2506, allocations: 0 / 0.5998 GB, free: 92.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004132/0.2547, allocations: 2.752 MB / 0.6025 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.922e-05/0.2548, allocations: 80.34 kB / 0.6026 GB, free: 92.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.2549, allocations: 17.88 kB / 0.6026 GB, free: 92.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.2552, allocations: 61.11 kB / 0.6027 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.2554, allocations: 155.4 kB / 0.6028 GB, free: 92.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.2554, allocations: 21.88 kB / 0.6029 GB, free: 92.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002122/0.2557, allocations: 354.4 kB / 0.6032 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.2557, allocations: 0 / 0.6032 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004996/0.2562, allocations: 270.5 kB / 0.6034 GB, free: 92.41 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.0001467/0.2563, allocations: 122.5 kB / 0.6036 GB, free: 92.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001918/0.2582, allocations: 1.397 MB / 0.6049 GB, free: 91.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2582, allocations: 2.812 kB / 0.6049 GB, free: 91.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.2595, allocations: 0.9299 MB / 0.6058 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.2598, allocations: 65.42 kB / 0.6059 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.2611, allocations: 1.269 MB / 0.6071 GB, free: 90.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.2613, allocations: 334.4 kB / 0.6075 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.2614, allocations: 59 kB / 0.6075 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/0.2614, allocations: 0 / 0.6075 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.01473/0.2761, allocations: 18.5 MB / 0.6256 GB, free: 86.36 MB / 0.5105 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: 5.483556238934398] Failed to read output from testmodel.py, exit status != 0: 0.2818685509264469 0.29122776 0.281401657 Calling exit ...