Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.2 MB / 255.2 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 67.89 kB / 374.5 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0961/0.09795, allocations: 53.33 MB / 427.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003354/0.1013, allocations: 2.057 MB / 429.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1023, allocations: 0.5767 MB / 430.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.1024, allocations: 3.938 kB / 430.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.1025, allocations: 23.78 kB / 430.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.836e-05/0.1026, allocations: 35.7 kB / 430.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.1029, allocations: 67.84 kB / 430.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.1032, allocations: 215.3 kB / 430.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1033, allocations: 33.11 kB / 430.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1034, allocations: 79.81 kB / 430.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.1036, allocations: 95.59 kB / 431 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.1036, allocations: 16 kB / 431 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.972e-05/0.1037, allocations: 23.98 kB / 431.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.1037, allocations: 31.91 kB / 431.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.1038, allocations: 79.66 kB / 431.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.1041, allocations: 187.3 kB / 431.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1041, allocations: 4 kB / 431.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1041, allocations: 4 kB / 431.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1041, allocations: 0 / 431.4 MB, free: 1.035 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008113/0.1049, allocations: 484.5 kB / 431.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.105, allocations: 12.03 kB / 431.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.1051, allocations: 24.83 kB / 431.9 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.1054, allocations: 222.9 kB / 432.1 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.614e-05/0.1055, allocations: 89.67 kB / 432.2 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.1055, allocations: 12.38 kB / 432.2 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1869/0.2924, allocations: 125.2 kB / 432.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.2924, allocations: 0 / 432.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/0.2925, allocations: 4.875 kB / 432.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.2925, allocations: 2.125 kB / 432.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.293, allocations: 107.8 kB / 432.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.2941, allocations: 0.5152 MB / 432.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.2945, allocations: 104.3 kB / 433.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.2947, allocations: 52.62 kB / 433.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.2947, allocations: 1.406 kB / 433.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.2947, allocations: 34.06 kB / 433.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.204e-06/0.2947, allocations: 7.594 kB / 433.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001141/0.2959, allocations: 301.8 kB / 433.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2959, allocations: 52.88 kB / 433.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.296, allocations: 150.3 kB / 433.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2961, allocations: 32.11 kB / 433.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.2961, allocations: 119.4 kB / 433.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.2962, allocations: 22.56 kB / 433.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2963, allocations: 40.06 kB / 433.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.2963, allocations: 319.5 kB / 434.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.2966, allocations: 59.23 kB / 434.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.2968, allocations: 85.25 kB / 434.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.2972, allocations: 151.5 kB / 434.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2972, allocations: 0.875 kB / 434.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008359/0.2981, allocations: 256.1 kB / 434.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.2981, allocations: 36 kB / 434.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2981, allocations: 2.266 kB / 434.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/0.2984, allocations: 78.03 kB / 434.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.2986, allocations: 18.53 kB / 434.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.3003, allocations: 1.617 MB / 436.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.3008, allocations: 55 kB / 436.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.3008, allocations: 5.594 kB / 436.5 MB, free: 8.906 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (dcPowerSupply.cp,dcPowerSupply.cc,dcPowerSupply.cv) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.3009, allocations: 120.4 kB / 436.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.301, allocations: 15.89 kB / 436.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005193/0.3015, allocations: 164.9 kB / 436.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3015, allocations: 3.547 kB / 436.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.3015, allocations: 5.094 kB / 436.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3015, allocations: 0 / 436.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.3018, allocations: 218 kB / 437 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3018, allocations: 2.156 kB / 437 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.361e-05/0.3019, allocations: 19.03 kB / 437 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000206/0.3021, allocations: 77.05 kB / 437.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.3021, allocations: 0.875 kB / 437.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.3036, allocations: 1.604 MB / 438.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3036, allocations: 3.891 kB / 438.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.3041, allocations: 248 kB / 439 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.3042, allocations: 94.31 kB / 439.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3042, allocations: 9.359 kB / 439.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.3044, allocations: 15.33 kB / 439.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.3045, allocations: 12.55 kB / 439.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3045, allocations: 6.188 kB / 439.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.059e-05/0.3046, allocations: 110.6 kB / 439.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3046, allocations: 0 / 439.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000469/0.305, allocations: 44.81 kB / 439.3 MB, free: 6.723 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001337/0.3052, allocations: 107.3 kB / 439.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007562/0.3059, allocations: 305 kB / 439.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3059, allocations: 0 / 439.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.3063, allocations: 173.7 kB / 439.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.3067, allocations: 31.33 kB / 439.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007399/0.3074, allocations: 295.3 kB / 440.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.3076, allocations: 0.7091 MB / 440.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.3076, allocations: 16.66 kB / 440.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3076, allocations: 3.938 kB / 440.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of Templates: time 0.005437/0.3131, allocations: 2.471 MB / 443.3 MB, free: 5.211 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.127248886041343] Failed to read output from testmodel.py, exit status != 0: 0.3211363600566983 0.332082988 0.22518490000000002 Calling exit ...