Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.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.001897/0.001897, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002313/0.002313, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.54/1.54, allocations: 230.6 MB / 258.3 MB, free: 8.086 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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) [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.002073/0.002073, allocations: 64.55 kB / 378.5 MB, free: 3.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2921, allocations: 53.37 MB / 431.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006886/0.299, allocations: 5.247 MB / 437.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009362/0.3084, allocations: 6.713 MB / 443.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.3094, allocations: 67.31 kB / 443.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.3109, allocations: 0.4968 MB / 444.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002679/0.3136, allocations: 0.8341 MB / 445.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.3149, allocations: 442.4 kB / 445.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003536/0.3185, allocations: 2.048 MB / 447.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.3187, allocations: 103.2 kB / 447.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006401/0.3194, allocations: 394.2 kB / 448.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004506/0.3198, allocations: 337.7 kB / 448.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.02e-05/0.3199, allocations: 28 kB / 448.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.321, allocations: 0.5033 MB / 449.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.3212, allocations: 111.3 kB / 449.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004021/0.3216, allocations: 449 kB / 449.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.3234, allocations: 1.291 MB / 450.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3234, allocations: 0 / 450.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3234, allocations: 0 / 450.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.3234, allocations: 0 / 450.9 MB, free: 3.812 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002167/0.3255, allocations: 1.411 MB / 452.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.3256, allocations: 8.031 kB / 452.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.521e-05/0.3257, allocations: 62.53 kB / 452.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003327/0.326, allocations: 159 kB / 452.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.3272, allocations: 0.7717 MB / 453.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.3272, allocations: 12.44 kB / 453.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.3273, allocations: 27.95 kB / 453.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005695/0.3278, allocations: 303.3 kB / 453.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3278, allocations: 0 / 453.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.3279, allocations: 12 kB / 453.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3279, allocations: 7.938 kB / 453.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.3283, allocations: 225.9 kB / 453.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.3301, allocations: 1.061 MB / 455 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.3306, allocations: 219.1 kB / 455.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.331, allocations: 265 kB / 455.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007728/0.3318, allocations: 169.4 kB / 455.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.3319, allocations: 34.56 kB / 455.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 5.741e-06/0.3319, allocations: 7.922 kB / 455.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.002942/0.3348, allocations: 1.427 MB / 457.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.3349, allocations: 110.8 kB / 457.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.336, allocations: 0.9301 MB / 458.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.336, allocations: 33.7 kB / 458.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.3363, allocations: 365.8 kB / 458.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.3364, allocations: 130.8 kB / 458.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.3366, allocations: 125.7 kB / 458.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3368, allocations: 317.9 kB / 459.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.337, allocations: 128.6 kB / 459.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.3373, allocations: 160.4 kB / 459.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.3388, allocations: 0.7414 MB / 460.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3388, allocations: 0 / 460.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001104/0.3399, allocations: 0.5702 MB / 460.7 MB, free: 9.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/0.3399, allocations: 37.7 kB / 460.7 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.94e-05/0.34, allocations: 15.98 kB / 460.7 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/0.3402, allocations: 65.69 kB / 460.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.3405, allocations: 47.91 kB / 460.8 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/0.3433, allocations: 3.125 MB / 463.9 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.3437, allocations: 16.02 kB / 464 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.3437, allocations: 20 kB / 464 MB, free: 6.172 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004837/0.3442, allocations: 257.4 kB / 464.2 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.3444, allocations: 135.1 kB / 464.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.3457, allocations: 0.6609 MB / 465 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3457, allocations: 0 / 465 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3457, allocations: 8 kB / 465 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3457, allocations: 0 / 465 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008175/0.3466, allocations: 0.5917 MB / 465.6 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.653e-05/0.3466, allocations: 15.92 kB / 465.6 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.3468, allocations: 39.92 kB / 465.7 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002025/0.347, allocations: 69.61 kB / 465.7 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.347, allocations: 19.98 kB / 465.8 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/0.3496, allocations: 3.121 MB / 468.9 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3496, allocations: 4.031 kB / 468.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.351, allocations: 0.8632 MB / 469.8 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000442/0.3515, allocations: 201 kB / 470 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.009e-05/0.3515, allocations: 8 kB / 470 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.3518, allocations: 15.88 kB / 470 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.531e-05/0.3519, allocations: 31.95 kB / 470 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.3519, allocations: 19.98 kB / 470 MB, free: 15.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008099/0.3528, allocations: 0.6295 MB / 470.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3528, allocations: 0 / 470.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008108/0.3536, allocations: 223.7 kB / 470.9 MB, free: 14.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002228/0.3558, allocations: 1.62 MB / 472.5 MB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.357, allocations: 0.7421 MB / 473.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.357, allocations: 0 / 473.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007047/0.3577, allocations: 0.597 MB / 473.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.3583, allocations: 108.7 kB / 473.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007833/0.3661, allocations: 5.765 MB / 479.7 MB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.3668, allocations: 1 MB / 480.7 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002889/0.3671, allocations: 93.64 kB / 480.8 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.3674, allocations: 283.3 kB / 481.1 MB, free: 4.383 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3674, allocations: 0 / 481.1 MB, free: 4.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05526/0.4226, allocations: 17.6 MB / 498.7 MB, free: 2.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.42, allocations: 13.81 kB / 498.7 MB, free: 2.941 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.917630041949451] Failed to read output from testmodel.py, exit status != 0: ['time', 'D1.pin', 'D3.n.v'] 12.51318255905062 12.54181346 12.212741851 Calling exit ...