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.001312/0.001312, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.372/1.372, allocations: 177.2 MB / 199.4 MB, free: 8.441 MB / 190.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.001614/0.001614, allocations: 158 kB / 256 MB, free: 4.363 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.555/0.555, allocations: 80.24 MB / 392.6 MB, free: 13.66 MB / 318.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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 0.5553 GB, free: 3.859 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.571e-05, allocations: 2.281 kB / 0.5553 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003627/0.003652, allocations: 3.957 MB / 0.5591 GB, free: 380 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.005913, allocations: 1.224 MB / 0.5603 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.006141, allocations: 7.938 kB / 0.5603 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.006511, allocations: 146.8 kB / 0.5605 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000557/0.007068, allocations: 281.7 kB / 0.5607 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.008284, allocations: 0.5141 MB / 0.5612 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009013/0.009185, allocations: 0.8326 MB / 0.5621 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.009465, allocations: 138.3 kB / 0.5622 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/0.009973, allocations: 490.7 kB / 0.5627 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.01044, allocations: 307 kB / 0.5629 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-05/0.01054, allocations: 64 kB / 0.563 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003207/0.01086, allocations: 139.8 kB / 0.5631 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.01102, allocations: 171.2 kB / 0.5633 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.0113, allocations: 259.2 kB / 0.5636 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.01233, allocations: 0.9382 MB / 0.5645 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01234, allocations: 4 kB / 0.5645 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.01234, allocations: 0 / 0.5645 GB, free: 10.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.01236, allocations: 0 / 0.5645 GB, free: 10.88 MB / 430.1 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.004647/0.017, allocations: 1.61 MB / 0.566 GB, free: 9.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.01704, allocations: 8.031 kB / 0.5661 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/0.01974, allocations: 439.5 kB / 0.5665 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.02045, allocations: 443.4 kB / 0.5669 GB, free: 8.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003109/0.02076, allocations: 286.8 kB / 0.5672 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.02089, allocations: 56 kB / 0.5672 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.02242, allocations: 0.6897 MB / 0.5679 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.02244, allocations: 4 kB / 0.5679 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/0.02251, allocations: 27.98 kB / 0.5679 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.02253, allocations: 12 kB / 0.5679 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.02408, allocations: 0.6727 MB / 0.5686 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/0.02786, allocations: 1.714 MB / 0.5703 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008439/0.0363, allocations: 1.756 MB / 0.572 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.03739, allocations: 435.1 kB / 0.5724 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.322e-05/0.03746, allocations: 8.656 kB / 0.5724 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.03875, allocations: 0.5236 MB / 0.5729 GB, free: 2.039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 3.256e-06/0.03875, allocations: 0 / 0.5729 GB, free: 2.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.0144/0.05315, allocations: 3.355 MB / 0.5762 GB, free: 14.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.05321, allocations: 64 kB / 0.5763 GB, free: 14.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006468/0.05386, allocations: 0.5264 MB / 0.5768 GB, free: 14.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.362e-05/0.05394, allocations: 41.69 kB / 0.5768 GB, free: 14.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.05421, allocations: 325.1 kB / 0.5771 GB, free: 13.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.05446, allocations: 265.7 kB / 0.5774 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.05471, allocations: 130.6 kB / 0.5775 GB, free: 13.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.0549, allocations: 382.8 kB / 0.5779 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009451/0.05584, allocations: 401.8 kB / 0.5782 GB, free: 12.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.05688, allocations: 0.499 MB / 0.5787 GB, free: 11.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009828/0.06671, allocations: 2.533 MB / 0.5812 GB, free: 9.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.06671, allocations: 0 / 0.5812 GB, free: 9.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.008021/0.07474, allocations: 2.228 MB / 0.5834 GB, free: 7.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.07476, allocations: 12 kB / 0.5834 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.07478, allocations: 4 kB / 0.5834 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00433/0.07911, allocations: 0.9951 MB / 0.5844 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.07969, allocations: 111.8 kB / 0.5845 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.08989, allocations: 4.282 MB / 0.5887 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008461/0.09073, allocations: 107.5 kB / 0.5888 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/0.0908, allocations: 24 kB / 0.5888 GB, free: 1.559 MB / 446.1 MB 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.0003863/0.09118, allocations: 214.5 kB / 0.589 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.09131, allocations: 79.47 kB / 0.5891 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007802/0.09912, allocations: 2.162 MB / 0.5912 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.09913, allocations: 8 kB / 0.5912 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.09914, allocations: 4 kB / 0.5912 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.09915, allocations: 7.984 kB / 0.5912 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008869/0.108, allocations: 2.82 MB / 0.5939 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.108, allocations: 0 / 0.5939 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004835/0.1085, allocations: 71.89 kB / 0.594 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004343/0.1129, allocations: 0.9937 MB / 0.595 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.345e-05/0.1129, allocations: 12 kB / 0.595 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/0.123, allocations: 4.243 MB / 0.5991 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.123, allocations: 4 kB / 0.5991 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009176/0.1322, allocations: 2.742 MB / 0.6018 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.1324, allocations: 83.39 kB / 0.6019 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.1325, allocations: 19.98 kB / 0.6019 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006482/0.1332, allocations: 51.94 kB / 0.602 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004729/0.1336, allocations: 164.2 kB / 0.6021 GB, free: 3.672 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.1337, allocations: 23.98 kB / 0.6021 GB, free: 3.648 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004333/0.1341, allocations: 350.8 kB / 0.6025 GB, free: 3.309 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1341, allocations: 0 / 0.6025 GB, free: 3.309 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008141/0.135, allocations: 275.8 kB / 0.6027 GB, free: 3.039 MB / 462.1 MB 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.0002247/0.1352, allocations: 121.5 kB / 0.6029 GB, free: 2.914 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0043/0.1395, allocations: 1.384 MB / 0.6042 GB, free: 1.512 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1395, allocations: 4.062 kB / 0.6042 GB, free: 1.508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003068/0.1426, allocations: 0.9373 MB / 0.6051 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.1431, allocations: 62.94 kB / 0.6052 GB, free: 500 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.1455, allocations: 1.234 MB / 0.6064 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.1459, allocations: 344.3 kB / 0.6067 GB, free: 14.87 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.1461, allocations: 56.94 kB / 0.6068 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.1462, allocations: 48.5 kB / 0.6068 GB, free: 14.77 MB / 478.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1462, allocations: 0 / 0.6068 GB, free: 14.77 MB / 478.1 MB Notification: Performance of Templates: time 0.02454/0.1708, allocations: 14.58 MB / 0.6211 GB, free: 236 kB / 478.1 MB " [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.983147583901882] Failed to read output from testmodel.py, exit status != 0: 0.1786966808140278 0.194109249 0.17871304200000002 Calling exit ...