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.001568/0.001568, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001712/0.001712, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.443/1.443, allocations: 230.5 MB / 254.7 MB, free: 15 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.001909/0.001909, allocations: 75.88 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.106, allocations: 53.31 MB / 426.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.2195/0.3255, allocations: 5.22 MB / 432.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00711/0.3326, allocations: 6.693 MB / 438.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005506/0.3331, allocations: 41.59 kB / 438.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.3345, allocations: 0.4943 MB / 439.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.3369, allocations: 0.8315 MB / 440.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.3382, allocations: 435.3 kB / 440.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00302/0.3412, allocations: 2.05 MB / 442.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.3414, allocations: 102 kB / 442.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005821/0.342, allocations: 376 kB / 443.1 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003549/0.3424, allocations: 347.8 kB / 443.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.42e-05/0.3424, allocations: 33.84 kB / 443.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.3438, allocations: 499.2 kB / 444 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.3439, allocations: 111.8 kB / 444.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003884/0.3443, allocations: 446.3 kB / 444.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.3461, allocations: 1.294 MB / 445.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3461, allocations: 0 / 445.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3461, allocations: 0 / 445.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.3461, allocations: 0 / 445.8 MB, free: 2.191 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.002012/0.3481, allocations: 1.492 MB / 447.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.3482, allocations: 14.03 kB / 447.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.981e-05/0.3482, allocations: 64.02 kB / 447.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/0.3486, allocations: 151.5 kB / 447.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.3497, allocations: 0.8577 MB / 448.4 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.3497, allocations: 15.81 kB / 448.4 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.3498, allocations: 27.41 kB / 448.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.3503, allocations: 305 kB / 448.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3503, allocations: 4.938 kB / 448.7 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.3503, allocations: 14.38 kB / 448.7 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.3503, allocations: 13.09 kB / 448.7 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.3507, allocations: 225.3 kB / 449 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.3528, allocations: 1.116 MB / 450.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.3532, allocations: 218.1 kB / 450.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004828/0.3537, allocations: 265.4 kB / 450.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.3548, allocations: 0.8315 MB / 451.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.3549, allocations: 33.41 kB / 451.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.635e-06/0.3549, allocations: 0.9375 kB / 451.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003133/0.358, allocations: 1.562 MB / 453 MB, free: 13.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.602e-05/0.3581, allocations: 117.7 kB / 453.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.3596, allocations: 0.9315 MB / 454 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.3597, allocations: 31.95 kB / 454 MB, free: 12.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000472/0.3602, allocations: 357.7 kB / 454.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.3603, allocations: 138 kB / 454.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.3606, allocations: 119.8 kB / 454.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.3609, allocations: 325.5 kB / 455 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.3612, allocations: 128.6 kB / 455.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.3615, allocations: 155.4 kB / 455.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.3631, allocations: 0.7277 MB / 456 MB, free: 11.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3631, allocations: 7.938 kB / 456 MB, free: 11.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001142/0.3642, allocations: 0.556 MB / 456.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/0.3643, allocations: 40.06 kB / 456.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.791e-05/0.3643, allocations: 14.14 kB / 456.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002454/0.3646, allocations: 70.75 kB / 456.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.3648, allocations: 50.69 kB / 456.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/0.3677, allocations: 3.328 MB / 460 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/0.3682, allocations: 12.56 kB / 460 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.3683, allocations: 20.75 kB / 460.1 MB, free: 7.945 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.0004674/0.3687, allocations: 261.2 kB / 460.3 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.3689, allocations: 133.8 kB / 460.5 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.3702, allocations: 0.6602 MB / 461.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3702, allocations: 4.594 kB / 461.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3702, allocations: 1.188 kB / 461.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3702, allocations: 3.125 kB / 461.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009067/0.3711, allocations: 0.619 MB / 461.7 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-05/0.3712, allocations: 16.78 kB / 461.8 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.3713, allocations: 40.64 kB / 461.8 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001906/0.3715, allocations: 67.39 kB / 461.9 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.3716, allocations: 19.88 kB / 461.9 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/0.3744, allocations: 3.325 MB / 465.2 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3744, allocations: 0.5 kB / 465.2 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.3757, allocations: 0.8555 MB / 466.1 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004954/0.3762, allocations: 278.9 kB / 466.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.585e-05/0.3763, allocations: 8.125 kB / 466.3 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.3766, allocations: 20.06 kB / 466.4 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.3767, allocations: 34 kB / 466.4 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/0.3767, allocations: 24.56 kB / 466.4 MB, free: 2.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008204/0.3776, allocations: 0.6213 MB / 467 MB, free: 2.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3776, allocations: 1.531 kB / 467 MB, free: 2.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008978/0.3785, allocations: 228.5 kB / 467.3 MB, free: 2.68 MB / 366.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.002227/0.3807, allocations: 1.613 MB / 468.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.3819, allocations: 0.7478 MB / 469.6 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3819, allocations: 1.125 kB / 469.6 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007188/0.3826, allocations: 0.5901 MB / 470.2 MB, free: 424 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.3833, allocations: 124.3 kB / 470.3 MB, free: 344 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007987/0.3913, allocations: 5.751 MB / 476.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.3919, allocations: 1.004 MB / 477.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002834/0.3922, allocations: 97.72 kB / 477.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.3925, allocations: 282.1 kB / 477.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3925, allocations: 0 / 477.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.055/0.4475, allocations: 17.42 MB / 494.9 MB, free: 11.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.13, allocations: 0 / 494.9 MB, free: 11.49 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 --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.490406383294612] Failed to read output from testmodel.py, exit status != 0: ['time', 'D1.pin', 'D3.n.v'] 12.221361062023789 12.235796825 11.886709112 Calling exit ...