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.001739/0.001739, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.002287/0.002287, allocations: 220.6 kB / 23 MB, free: 5.609 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.437/1.437, allocations: 230.5 MB / 256.5 MB, free: 8.402 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.002819/0.002819, allocations: 67.88 kB / 376.2 MB, free: 4.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2892, allocations: 53.32 MB / 429.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006501/0.2957, allocations: 5.249 MB / 434.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009158/0.3048, allocations: 6.712 MB / 441.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.3059, allocations: 43.69 kB / 441.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.3077, allocations: 0.4939 MB / 442 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.3108, allocations: 0.8263 MB / 442.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.3122, allocations: 442.4 kB / 443.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003659/0.3159, allocations: 2.044 MB / 445.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.3162, allocations: 99.06 kB / 445.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006556/0.3169, allocations: 382.1 kB / 445.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004718/0.3173, allocations: 349.7 kB / 446.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.758e-05/0.3174, allocations: 28 kB / 446.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.3188, allocations: 0.4917 MB / 446.6 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.319, allocations: 111.2 kB / 446.8 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.3194, allocations: 445 kB / 447.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.3213, allocations: 1.291 MB / 448.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3214, allocations: 0 / 448.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3214, allocations: 0 / 448.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.3214, allocations: 0 / 448.5 MB, free: 4.328 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.002335/0.3237, allocations: 1.49 MB / 450 MB, free: 2.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3238, allocations: 8.031 kB / 450 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.211e-05/0.3238, allocations: 66.48 kB / 450 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.3242, allocations: 151 kB / 450.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.3254, allocations: 0.8593 MB / 451 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.3254, allocations: 20.44 kB / 451.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.639e-05/0.3255, allocations: 27.95 kB / 451.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.326, allocations: 306.6 kB / 451.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.326, allocations: 0 / 451.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.3261, allocations: 8 kB / 451.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.3261, allocations: 11.94 kB / 451.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.3265, allocations: 221.8 kB / 451.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.3283, allocations: 1.114 MB / 452.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.3287, allocations: 223.9 kB / 453 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004906/0.3292, allocations: 261 kB / 453.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.3305, allocations: 0.8386 MB / 454.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.3305, allocations: 38.55 kB / 454.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.164e-06/0.3305, allocations: 0 / 454.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003165/0.3337, allocations: 1.556 MB / 455.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.3337, allocations: 118.8 kB / 455.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.3349, allocations: 0.9379 MB / 456.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.3349, allocations: 29.7 kB / 456.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.3353, allocations: 353.8 kB / 457.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.3354, allocations: 138.8 kB / 457.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.3356, allocations: 125.7 kB / 457.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3357, allocations: 321.9 kB / 457.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.336, allocations: 120.6 kB / 457.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.3362, allocations: 163.8 kB / 457.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.3377, allocations: 0.7296 MB / 458.7 MB, free: 9.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3377, allocations: 0 / 458.7 MB, free: 9.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001024/0.3387, allocations: 0.5622 MB / 459.2 MB, free: 8.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.3388, allocations: 37.64 kB / 459.3 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/0.3388, allocations: 19.98 kB / 459.3 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/0.3391, allocations: 73.66 kB / 459.3 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.3393, allocations: 43.97 kB / 459.4 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/0.3424, allocations: 3.328 MB / 462.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.3428, allocations: 12 kB / 462.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.3429, allocations: 23.98 kB / 462.8 MB, free: 5.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.0005155/0.3434, allocations: 268 kB / 463 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.3436, allocations: 127.1 kB / 463.1 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.3449, allocations: 0.6645 MB / 463.8 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.3449, allocations: 4 kB / 463.8 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3449, allocations: 0 / 463.8 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.3449, allocations: 3.984 kB / 463.8 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008003/0.3457, allocations: 0.6121 MB / 464.4 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/0.3458, allocations: 19.94 kB / 464.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.346, allocations: 31.97 kB / 464.5 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/0.3462, allocations: 69.67 kB / 464.5 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.3462, allocations: 16 kB / 464.6 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/0.3491, allocations: 3.328 MB / 467.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3491, allocations: 4.031 kB / 467.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.3506, allocations: 0.8555 MB / 468.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.351, allocations: 280.1 kB / 469 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3511, allocations: 8.188 kB / 469 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.3514, allocations: 19.88 kB / 469 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3515, allocations: 31.95 kB / 469.1 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.3515, allocations: 20 kB / 469.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000896/0.3524, allocations: 0.6335 MB / 469.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3524, allocations: 0 / 469.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009627/0.3534, allocations: 227.5 kB / 470 MB, free: 13.56 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.002459/0.3558, allocations: 1.605 MB / 471.6 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.3571, allocations: 0.7456 MB / 472.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3571, allocations: 3.938 kB / 472.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000757/0.3579, allocations: 0.5931 MB / 472.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.3585, allocations: 112.7 kB / 473 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008183/0.3667, allocations: 5.767 MB / 478.8 MB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/0.3674, allocations: 1 MB / 479.8 MB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002862/0.3676, allocations: 93.64 kB / 479.9 MB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.368, allocations: 287.3 kB / 480.2 MB, free: 2.992 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.368, allocations: 0 / 480.2 MB, free: 2.992 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05561/0.4236, allocations: 17.42 MB / 497.6 MB, free: 1.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.18, allocations: 10.28 kB / 497.6 MB, free: 1.715 MB / 398.1 MB " [Timeout remaining time 648] (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 --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.536987205996411] Failed to read output from testmodel.py, exit status != 0: ['time', 'D1.pin', 'D3.n.v'] 12.271176234993618 12.292556701 11.966696562 Calling exit ...