Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001327/0.001327, allocations: 117.9 kB / 21.18 MB, free: 0.6289 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.001462/0.001462, allocations: 202.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.412/1.412, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.84 kB / 378.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2739, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003546/0.2774, allocations: 2.07 MB / 434.1 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.2785, allocations: 0.5844 MB / 434.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.476e-05/0.2786, allocations: 0 / 434.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.2787, allocations: 19.8 kB / 434.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.548e-05/0.2788, allocations: 39.69 kB / 434.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.2791, allocations: 67.86 kB / 434.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.2794, allocations: 211.3 kB / 435 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.2796, allocations: 37.05 kB / 435.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.2797, allocations: 75.83 kB / 435.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.2799, allocations: 95.59 kB / 435.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.2799, allocations: 16 kB / 435.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.42e-05/0.28, allocations: 24 kB / 435.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.28, allocations: 31.89 kB / 435.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.698e-05/0.2801, allocations: 83.64 kB / 435.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.2804, allocations: 188.8 kB / 435.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2804, allocations: 4 kB / 435.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2804, allocations: 0 / 435.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.2804, allocations: 0 / 435.6 MB, free: 3.828 MB / 334.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.0008403/0.2813, allocations: 492.5 kB / 436.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2813, allocations: 12.03 kB / 436.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.2815, allocations: 20.84 kB / 436.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.2818, allocations: 224.1 kB / 436.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.2819, allocations: 93.66 kB / 436.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.2819, allocations: 8.375 kB / 436.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.2823, allocations: 133.8 kB / 436.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2823, allocations: 0 / 436.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.2823, allocations: 4 kB / 436.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2823, allocations: 4 kB / 436.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.2826, allocations: 115.2 kB / 436.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009103/0.2835, allocations: 0.5149 MB / 437.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.2839, allocations: 110.7 kB / 437.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.284, allocations: 40.84 kB / 437.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.2841, allocations: 11.92 kB / 437.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.2841, allocations: 42.44 kB / 437.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.2841, allocations: 0 / 437.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008972/0.285, allocations: 295.4 kB / 437.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.285, allocations: 55.41 kB / 437.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.2852, allocations: 146.4 kB / 437.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.2852, allocations: 29.7 kB / 437.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/0.2853, allocations: 116 kB / 438 MB, free: 1.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.2853, allocations: 27.75 kB / 438 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.2854, allocations: 37.7 kB / 438.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2856, allocations: 318.8 kB / 438.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.2857, allocations: 63.97 kB / 438.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.2859, allocations: 82.53 kB / 438.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.2862, allocations: 144.2 kB / 438.7 MB, free: 456 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2862, allocations: 4 kB / 438.7 MB, free: 452 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006282/0.2869, allocations: 259.9 kB / 438.9 MB, free: 176 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.2869, allocations: 44.5 kB / 439 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2869, allocations: 0 / 439 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/0.2872, allocations: 80.8 kB / 439.1 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.185e-05/0.2873, allocations: 12.47 kB / 439.1 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.2891, allocations: 1.621 MB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.2895, allocations: 51.98 kB / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.2895, allocations: 11.98 kB / 440.8 MB, free: 14.21 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.0001297/0.2896, allocations: 117.8 kB / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.2897, allocations: 11.91 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.2901, allocations: 171.1 kB / 441 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.2901, allocations: 0 / 441 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.2901, allocations: 4 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2901, allocations: 3.984 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.2903, allocations: 213.6 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2903, allocations: 0 / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.803e-05/0.2904, allocations: 11.98 kB / 441.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001762/0.2906, allocations: 76.81 kB / 441.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2906, allocations: 11.88 kB / 441.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.2923, allocations: 1.607 MB / 443 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2923, allocations: 4.031 kB / 443 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.2927, allocations: 252.2 kB / 443.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.2928, allocations: 89.02 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.2928, allocations: 3.984 kB / 443.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.2929, allocations: 15.98 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.293, allocations: 11.92 kB / 443.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.293, allocations: 4 kB / 443.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.627e-05/0.2931, allocations: 113.1 kB / 443.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2931, allocations: 0 / 443.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003205/0.2934, allocations: 48 kB / 443.5 MB, free: 11.21 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.0001306/0.2935, allocations: 103.2 kB / 443.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006663/0.2942, allocations: 302 kB / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2942, allocations: 0 / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.2945, allocations: 178.8 kB / 444.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.2948, allocations: 32.02 kB / 444.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.2955, allocations: 307.7 kB / 444.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.2958, allocations: 0.7123 MB / 445.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.2959, allocations: 15.44 kB / 445.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2959, allocations: 0 / 445.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of Templates: time 0.004722/0.3006, allocations: 2.473 MB / 447.6 MB, free: 7.016 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.144454926252365] Failed to read output from testmodel.py, exit status != 0: 0.3100370978936553 0.324476636 0.040895631 Calling exit ...