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.001277/0.001277, allocations: 114.3 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.00139/0.00139, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.402/1.402, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.001944/0.001944, allocations: 59.84 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2166, allocations: 53.33 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003298/0.2199, allocations: 2.07 MB / 434.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.2209, allocations: 0.5767 MB / 434.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/0.221, allocations: 3.938 kB / 434.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.2211, allocations: 23.78 kB / 434.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.635e-05/0.2212, allocations: 39.64 kB / 434.8 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.2214, allocations: 71.91 kB / 434.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.2217, allocations: 215.3 kB / 435.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.2218, allocations: 33.06 kB / 435.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.2219, allocations: 79.7 kB / 435.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.2221, allocations: 87.72 kB / 435.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.2222, allocations: 16 kB / 435.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.226e-05/0.2222, allocations: 27.98 kB / 435.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.2223, allocations: 31.84 kB / 435.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.745e-05/0.2223, allocations: 79.7 kB / 435.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.2226, allocations: 189.2 kB / 435.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2226, allocations: 8 kB / 435.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2226, allocations: 0 / 435.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2226, allocations: 0 / 435.6 MB, free: 3.852 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.0007773/0.2234, allocations: 492.5 kB / 436.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2234, allocations: 12.03 kB / 436.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.2236, allocations: 20.84 kB / 436.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.2239, allocations: 208.2 kB / 436.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.001e-05/0.2239, allocations: 93.67 kB / 436.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.224, allocations: 12.38 kB / 436.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.2243, allocations: 133.7 kB / 436.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2243, allocations: 0 / 436.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2243, allocations: 0 / 436.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.2243, allocations: 11.98 kB / 436.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.2246, allocations: 119.7 kB / 436.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008754/0.2255, allocations: 0.511 MB / 437.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.2259, allocations: 106.7 kB / 437.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.226, allocations: 48.83 kB / 437.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.226, allocations: 4 kB / 437.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.2261, allocations: 34.5 kB / 437.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2261, allocations: 4 kB / 437.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008678/0.2269, allocations: 295.7 kB / 437.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.227, allocations: 55.5 kB / 437.7 MB, free: 1.492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.2271, allocations: 154.3 kB / 437.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.2271, allocations: 25.7 kB / 437.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/0.2272, allocations: 116 kB / 438 MB, free: 1.176 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.2272, allocations: 31.73 kB / 438.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.24e-05/0.2273, allocations: 37.7 kB / 438.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2275, allocations: 318.8 kB / 438.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.2276, allocations: 63.95 kB / 438.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.2278, allocations: 82.48 kB / 438.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.2281, allocations: 140.2 kB / 438.7 MB, free: 488 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2282, allocations: 0 / 438.7 MB, free: 488 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006527/0.2288, allocations: 275.8 kB / 439 MB, free: 196 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.2288, allocations: 37.77 kB / 439 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2288, allocations: 4 kB / 439 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002247/0.2291, allocations: 68.81 kB / 439.1 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.2292, allocations: 15.98 kB / 439.1 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.231, allocations: 1.621 MB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.2313, allocations: 47.98 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.2313, allocations: 8 kB / 440.7 MB, free: 14.24 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.0001232/0.2315, allocations: 125.8 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.2315, allocations: 11.91 kB / 440.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.2319, allocations: 171.1 kB / 441.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2319, allocations: 0 / 441.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2319, allocations: 0 / 441.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.232, allocations: 89 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.232, allocations: 0 / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.2321, allocations: 15.98 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.2322, allocations: 11.98 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005159/0.2327, allocations: 237.8 kB / 441.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005326/0.2332, allocations: 350.6 kB / 441.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00013/0.2334, allocations: 40.02 kB / 441.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.908e-05/0.2335, allocations: 109.7 kB / 441.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Backend: time 1.51e-07/0.2335, allocations: 0 / 441.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007994/0.2343, allocations: 347.7 kB / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of SimCode: time 0.000733/0.235, allocations: 0.7522 MB / 443 MB, free: 11.87 MB / 350.1 MB Notification: Performance of Templates: time 0.006437/0.2414, allocations: 2.849 MB / 445.8 MB, free: 9.055 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: 4.172624412924051] Failed to read output from testmodel.py, exit status != 0: 0.24906248785555363 0.26281656999999997 0.037253792 Calling exit ...