Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001962/0.001962, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.002356/0.002356, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.5 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 63.91 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1075, allocations: 53.36 MB / 427 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006323/0.1138, allocations: 5.241 MB / 432.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008954/0.1227, allocations: 6.686 MB / 439 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008958/0.1236, allocations: 63.31 kB / 439 MB, free: 8.609 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.125, allocations: 0.4969 MB / 439.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002376/0.1274, allocations: 0.8263 MB / 440.4 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.1287, allocations: 445.2 kB / 440.8 MB, free: 6.844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003181/0.1319, allocations: 2.04 MB / 442.8 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.1321, allocations: 103.1 kB / 442.9 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005462/0.1327, allocations: 394.2 kB / 443.3 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.1331, allocations: 353.6 kB / 443.7 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.044e-05/0.1332, allocations: 28 kB / 443.7 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.1342, allocations: 499.6 kB / 444.2 MB, free: 3.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1344, allocations: 115.2 kB / 444.3 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004017/0.1348, allocations: 445.1 kB / 444.7 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.1365, allocations: 1.295 MB / 446 MB, free: 1.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1365, allocations: 0 / 446 MB, free: 1.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1365, allocations: 0 / 446 MB, free: 1.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.1366, allocations: 0 / 446 MB, free: 1.578 MB / 366.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.002097/0.1387, allocations: 1.49 MB / 447.5 MB, free: 28 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1387, allocations: 8.031 kB / 447.5 MB, free: 20 kB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.701e-05/0.1387, allocations: 4.438 kB / 447.5 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2091/0.3479, allocations: 63.23 kB / 447.6 MB, free: 24.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005042/0.3484, allocations: 149.8 kB / 447.7 MB, free: 24.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.3497, allocations: 0.8584 MB / 448.6 MB, free: 24.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.3497, allocations: 16.78 kB / 448.6 MB, free: 24.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.749e-05/0.3497, allocations: 22.72 kB / 448.6 MB, free: 24.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.3503, allocations: 307.1 kB / 448.9 MB, free: 24.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3503, allocations: 0.6875 kB / 448.9 MB, free: 24.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.3504, allocations: 12.33 kB / 448.9 MB, free: 24.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3504, allocations: 5.094 kB / 448.9 MB, free: 24.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.3508, allocations: 222.3 kB / 449.2 MB, free: 24.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.3523, allocations: 1.128 MB / 450.3 MB, free: 24.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.3527, allocations: 220.8 kB / 450.5 MB, free: 23.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/0.3532, allocations: 262 kB / 450.8 MB, free: 23.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008402/0.354, allocations: 0.8318 MB / 451.6 MB, free: 22.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.354, allocations: 37.17 kB / 451.6 MB, free: 22.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.675e-06/0.354, allocations: 1.906 kB / 451.6 MB, free: 22.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.002929/0.357, allocations: 1.562 MB / 453.2 MB, free: 21.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.357, allocations: 118.1 kB / 453.3 MB, free: 21.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.3581, allocations: 0.929 MB / 454.2 MB, free: 21.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.3581, allocations: 31.08 kB / 454.3 MB, free: 21.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.3584, allocations: 363 kB / 454.6 MB, free: 21.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.713e-05/0.3585, allocations: 141.4 kB / 454.8 MB, free: 21.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.3586, allocations: 118.7 kB / 454.9 MB, free: 21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.3587, allocations: 318.4 kB / 455.2 MB, free: 20.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.3589, allocations: 121.6 kB / 455.3 MB, free: 20.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.3592, allocations: 164.3 kB / 455.5 MB, free: 20.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.3605, allocations: 0.7317 MB / 456.2 MB, free: 20.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3605, allocations: 1.438 kB / 456.2 MB, free: 20.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009136/0.3615, allocations: 0.5533 MB / 456.8 MB, free: 19.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.3615, allocations: 36.47 kB / 456.8 MB, free: 19.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/0.3615, allocations: 17.73 kB / 456.8 MB, free: 19.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.3617, allocations: 71.22 kB / 456.9 MB, free: 19.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.362, allocations: 45.48 kB / 456.9 MB, free: 19.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.3639, allocations: 3.336 MB / 460.3 MB, free: 16.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.3641, allocations: 14.66 kB / 460.3 MB, free: 16.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/0.3642, allocations: 24.03 kB / 460.3 MB, free: 16.62 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.0003334/0.3645, allocations: 255.4 kB / 460.5 MB, free: 16.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.3647, allocations: 128.5 kB / 460.7 MB, free: 16.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.366, allocations: 0.6699 MB / 461.3 MB, free: 16.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.366, allocations: 5.531 kB / 461.3 MB, free: 16.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3661, allocations: 3.188 kB / 461.3 MB, free: 16.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3661, allocations: 4.047 kB / 461.4 MB, free: 16.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008692/0.3669, allocations: 0.6179 MB / 462 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/0.367, allocations: 15.64 kB / 462 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.3671, allocations: 37.11 kB / 462 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002098/0.3674, allocations: 71.42 kB / 462.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.3674, allocations: 15.17 kB / 462.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.3693, allocations: 3.336 MB / 465.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3693, allocations: 1.125 kB / 465.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.3708, allocations: 0.8506 MB / 466.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.3711, allocations: 278.9 kB / 466.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.652e-05/0.3712, allocations: 7.188 kB / 466.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.3715, allocations: 14.05 kB / 466.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.3716, allocations: 30.33 kB / 466.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.3716, allocations: 19.92 kB / 466.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008459/0.3725, allocations: 0.6291 MB / 467.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3725, allocations: 0 / 467.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009476/0.3734, allocations: 229.7 kB / 467.5 MB, free: 11.46 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.00203/0.3754, allocations: 1.604 MB / 469.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.3766, allocations: 0.7532 MB / 469.8 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3766, allocations: 3.938 kB / 469.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005856/0.3772, allocations: 0.5856 MB / 470.4 MB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006272/0.3778, allocations: 114.6 kB / 470.5 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007186/0.385, allocations: 5.778 MB / 476.3 MB, free: 6.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.3854, allocations: 0.9993 MB / 477.3 MB, free: 5.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003045/0.3858, allocations: 95.52 kB / 477.4 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.386, allocations: 284.2 kB / 477.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.386, allocations: 3.938 kB / 477.7 MB, free: 5.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04626/0.4323, allocations: 17.4 MB / 495.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.62, allocations: 4.5 kB / 495.1 MB, free: 11.25 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.315699402999599] Failed to read output from testmodel.py, exit status != 0: ['time', 'D1.pin', 'D3.n.v'] 12.769419379008468 12.786734593 12.646671219 Calling exit ...