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.0007397/0.0007397, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.8486/0.8486, allocations: 177.1 MB / 200.5 MB, free: 5.816 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.001111/0.001111, allocations: 160.5 kB / 257.1 MB, free: 13.18 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.2488/0.2488, allocations: 80.37 MB / 393.9 MB, free: 2.191 MB / 314.7 MB " [Timeout remaining time 180] 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.483e-06/1.483e-06, allocations: 0.6562 kB / 489.9 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.501e-05, allocations: 4.984 kB / 489.9 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003302/0.003327, allocations: 3.954 MB / 493.9 MB, free: 7.961 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.004593, allocations: 1.236 MB / 495.1 MB, free: 6.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.004735, allocations: 4 kB / 495.1 MB, free: 6.727 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.00498, allocations: 148.8 kB / 495.3 MB, free: 6.582 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.0053, allocations: 277.8 kB / 495.6 MB, free: 6.309 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.005936, allocations: 0.5108 MB / 496.1 MB, free: 5.805 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004631/0.006399, allocations: 0.8418 MB / 496.9 MB, free: 4.961 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.006575, allocations: 138.3 kB / 497 MB, free: 4.812 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.006847, allocations: 486.7 kB / 497.5 MB, free: 4.336 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.007126, allocations: 314.9 kB / 497.8 MB, free: 4.027 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.817e-05/0.007184, allocations: 64.84 kB / 497.9 MB, free: 3.965 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.007367, allocations: 127.9 kB / 498 MB, free: 3.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.892e-05/0.007445, allocations: 171.9 kB / 498.2 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.007732, allocations: 263.2 kB / 498.4 MB, free: 3.414 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005692/0.008301, allocations: 0.9427 MB / 499.4 MB, free: 2.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.008303, allocations: 0 / 499.4 MB, free: 2.469 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.008304, allocations: 1.188 kB / 499.4 MB, free: 2.469 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.008312, allocations: 0 / 499.4 MB, free: 2.469 MB / 410.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.002187/0.0105, allocations: 1.612 MB / 0.4893 GB, free: 0.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.01053, allocations: 8.656 kB / 0.4893 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.0118, allocations: 0.5144 MB / 0.4898 GB, free: 324 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.01221, allocations: 455.5 kB / 0.4902 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.01236, allocations: 276.7 kB / 0.4905 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.01243, allocations: 52 kB / 0.4905 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007962/0.01322, allocations: 0.696 MB / 0.4912 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.01323, allocations: 0.5625 kB / 0.4912 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.01327, allocations: 27.94 kB / 0.4912 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.01328, allocations: 12.5 kB / 0.4912 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008108/0.0141, allocations: 0.6795 MB / 0.4919 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.01626, allocations: 1.724 MB / 0.4936 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003532/0.01979, allocations: 1.74 MB / 0.4953 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/0.02032, allocations: 427.1 kB / 0.4957 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.507e-05/0.02037, allocations: 20.64 kB / 0.4957 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006298/0.021, allocations: 0.5313 MB / 0.4962 GB, free: 9.578 MB / 426.7 MB Notification: Performance of pre-optimization done (n=75): time 1.933e-06/0.021, allocations: 0 / 0.4962 GB, free: 9.578 MB / 426.7 MB Notification: Performance of matching and sorting (n=75): time 0.006285/0.02729, allocations: 3.379 MB / 0.4995 GB, free: 6.184 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.02731, allocations: 68.05 kB / 0.4996 GB, free: 6.105 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.02764, allocations: 0.5186 MB / 0.5001 GB, free: 5.582 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.02768, allocations: 41.7 kB / 0.5001 GB, free: 5.535 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.02782, allocations: 325.2 kB / 0.5004 GB, free: 5.211 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.02807, allocations: 261.7 kB / 0.5007 GB, free: 4.953 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.02821, allocations: 126.6 kB / 0.5008 GB, free: 4.824 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.02831, allocations: 386.8 kB / 0.5012 GB, free: 4.438 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/0.0288, allocations: 409.7 kB / 0.5016 GB, free: 4.039 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005376/0.02934, allocations: 0.499 MB / 0.5021 GB, free: 3.504 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004449/0.03379, allocations: 2.538 MB / 0.5045 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.03379, allocations: 3.938 kB / 0.5045 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003584/0.03738, allocations: 2.258 MB / 0.5068 GB, free: 14.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.03739, allocations: 8 kB / 0.5068 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.0374, allocations: 4 kB / 0.5068 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/0.03928, allocations: 1.001 MB / 0.5077 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.03952, allocations: 115.8 kB / 0.5079 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004921/0.04444, allocations: 4.291 MB / 0.512 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.04474, allocations: 99.52 kB / 0.5121 GB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.04478, allocations: 27.98 kB / 0.5122 GB, free: 9.004 MB / 442.7 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.0002034/0.04498, allocations: 210.2 kB / 0.5124 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.652e-05/0.04508, allocations: 107.5 kB / 0.5125 GB, free: 8.684 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003508/0.04859, allocations: 2.158 MB / 0.5146 GB, free: 6.504 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.04859, allocations: 8 kB / 0.5146 GB, free: 6.496 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.0486, allocations: 4 kB / 0.5146 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.0486, allocations: 3.984 kB / 0.5146 GB, free: 6.488 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/0.05273, allocations: 2.809 MB / 0.5173 GB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.05273, allocations: 0 / 0.5173 GB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.05293, allocations: 79.89 kB / 0.5174 GB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001848/0.05478, allocations: 0.9963 MB / 0.5184 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.05482, allocations: 23.92 kB / 0.5184 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004866/0.05968, allocations: 4.251 MB / 0.5226 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.05969, allocations: 0 / 0.5226 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004152/0.06384, allocations: 2.777 MB / 0.5253 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.0639, allocations: 83.33 kB / 0.5253 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/0.06396, allocations: 12 kB / 0.5254 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.06423, allocations: 59.94 kB / 0.5254 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.06447, allocations: 160.3 kB / 0.5256 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.0645, allocations: 27.98 kB / 0.5256 GB, free: 11.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002382/0.06474, allocations: 350.8 kB / 0.5259 GB, free: 10.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06474, allocations: 0 / 0.5259 GB, free: 10.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004619/0.0652, allocations: 263.8 kB / 0.5262 GB, free: 10.44 MB / 458.7 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.0001339/0.06533, allocations: 127.5 kB / 0.5263 GB, free: 10.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.0673, allocations: 1.391 MB / 0.5277 GB, free: 8.895 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0673, allocations: 0 / 0.5277 GB, free: 8.895 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.06861, allocations: 0.9369 MB / 0.5286 GB, free: 7.938 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.06891, allocations: 88.06 kB / 0.5287 GB, free: 7.852 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.07023, allocations: 1.26 MB / 0.5299 GB, free: 6.562 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.07041, allocations: 340.2 kB / 0.5302 GB, free: 6.203 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.07052, allocations: 60.95 kB / 0.5303 GB, free: 6.145 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-05/0.07061, allocations: 52.48 kB / 0.5303 GB, free: 6.094 MB / 458.7 MB Notification: Performance of SimCode: time 3.71e-07/0.07061, allocations: 0 / 0.5303 GB, free: 6.094 MB / 458.7 MB Notification: Performance of Templates: time 0.01364/0.08425, allocations: 14.64 MB / 0.5446 GB, free: 7.512 MB / 474.7 MB " [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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.3988072052598] Failed to read output from testmodel.py, exit status != 0: 0.08906790427863598 0.09695162600000001 0.086994477 Calling exit ...