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.001782/0.001782, allocations: 113.8 kB / 19.17 MB, free: 3.895 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.001636/0.001636, allocations: 212.9 kB / 22.13 MB, free: 0.9414 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.448/1.448, allocations: 230.4 MB / 255.4 MB, free: 15.01 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.001922/0.001922, allocations: 79.8 kB / 374.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1144, allocations: 53.31 MB / 428.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003848/0.1182, allocations: 2.061 MB / 430.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1194, allocations: 0.5767 MB / 430.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1195, allocations: 4 kB / 430.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.1197, allocations: 19.78 kB / 430.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.1198, allocations: 43.64 kB / 430.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.1201, allocations: 63.91 kB / 430.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.1204, allocations: 215.3 kB / 431 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.1206, allocations: 37.09 kB / 431.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.1207, allocations: 79.77 kB / 431.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.121, allocations: 87.66 kB / 431.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.121, allocations: 20 kB / 431.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.292e-05/0.1211, allocations: 23.98 kB / 431.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.1211, allocations: 31.91 kB / 431.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1212, allocations: 83.64 kB / 431.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.1216, allocations: 187.3 kB / 431.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1216, allocations: 0 / 431.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1216, allocations: 0 / 431.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.954e-06/0.1216, allocations: 0 / 431.6 MB, free: 0.7852 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.0009056/0.1225, allocations: 494.9 kB / 432.1 MB, free: 256 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1225, allocations: 11.97 kB / 432.1 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.1227, allocations: 24.84 kB / 432.1 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2158/0.3385, allocations: 209.8 kB / 432.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.3386, allocations: 93.33 kB / 432.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.3387, allocations: 13.97 kB / 432.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.3391, allocations: 121.9 kB / 432.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3391, allocations: 0.5 kB / 432.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.3391, allocations: 2.031 kB / 432.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3391, allocations: 6.375 kB / 432.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.3394, allocations: 116.5 kB / 432.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008795/0.3403, allocations: 0.5089 MB / 433.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.3407, allocations: 108.9 kB / 433.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.3408, allocations: 48 kB / 433.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.3409, allocations: 0.875 kB / 433.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.3409, allocations: 39.81 kB / 433.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.3409, allocations: 0 / 433.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008767/0.3418, allocations: 304.6 kB / 433.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.3418, allocations: 56.81 kB / 433.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3419, allocations: 149 kB / 433.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.3419, allocations: 28.42 kB / 433.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.342, allocations: 120.7 kB / 434 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.342, allocations: 29.16 kB / 434 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/0.3421, allocations: 42.28 kB / 434.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.3421, allocations: 320.5 kB / 434.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.3423, allocations: 54.12 kB / 434.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.3425, allocations: 87.3 kB / 434.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.3428, allocations: 142.9 kB / 434.7 MB, free: 10 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3428, allocations: 3.531 kB / 434.7 MB, free: 10 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005616/0.3433, allocations: 262.4 kB / 434.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.3434, allocations: 38.03 kB / 435 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3434, allocations: 3.359 kB / 435 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.3436, allocations: 72.86 kB / 435 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.3437, allocations: 22.33 kB / 435.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.345, allocations: 1.61 MB / 436.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.3453, allocations: 58.61 kB / 436.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.3453, allocations: 7.234 kB / 436.7 MB, free: 8.52 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 8.315e-05/0.3454, allocations: 121.4 kB / 436.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.3455, allocations: 11.36 kB / 436.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.3458, allocations: 171.9 kB / 437 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3458, allocations: 1.062 kB / 437 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.3458, allocations: 2.594 kB / 437 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3458, allocations: 7.312 kB / 437 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.346, allocations: 211.4 kB / 437.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.346, allocations: 0.625 kB / 437.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.684e-05/0.3461, allocations: 12.88 kB / 437.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.3463, allocations: 78.08 kB / 437.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3463, allocations: 2 kB / 437.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.3474, allocations: 1.615 MB / 438.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3474, allocations: 0 / 438.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.3478, allocations: 258.9 kB / 439.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.3478, allocations: 84.44 kB / 439.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3478, allocations: 4.094 kB / 439.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.348, allocations: 15.5 kB / 439.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.348, allocations: 10.72 kB / 439.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.348, allocations: 2.25 kB / 439.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.412e-05/0.3481, allocations: 118.4 kB / 439.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3481, allocations: 5.125 kB / 439.4 MB, free: 6.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.3484, allocations: 45.31 kB / 439.5 MB, free: 6.262 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.0001124/0.3485, allocations: 99.25 kB / 439.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005966/0.3491, allocations: 299.9 kB / 439.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3491, allocations: 0 / 439.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.3494, allocations: 178.2 kB / 440 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.3497, allocations: 29.72 kB / 440.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.3503, allocations: 296.8 kB / 440.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.3504, allocations: 0.714 MB / 441.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.3505, allocations: 15.38 kB / 441.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3505, allocations: 1.375 kB / 441.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of Templates: time 0.005469/0.3559, allocations: 2.485 MB / 443.6 MB, free: 4.754 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.338712353957817] Failed to read output from testmodel.py, exit status != 0: 0.3641823821235448 0.376219987 0.251646256 Calling exit ...