Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.001339/0.001339, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001389/0.001389, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",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.001927/0.001927, allocations: 64.55 kB / 378.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2863, allocations: 53.37 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006594/0.2929, allocations: 5.113 MB / 437 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01486/0.3077, allocations: 10.85 MB / 447.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.3088, allocations: 51.5 kB / 447.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.311, allocations: 0.7037 MB / 448.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004129/0.3152, allocations: 1.021 MB / 449.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.3172, allocations: 0.6137 MB / 450.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003059/0.3203, allocations: 1.394 MB / 451.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.3206, allocations: 113.8 kB / 451.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005579/0.3212, allocations: 306.6 kB / 452.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.3216, allocations: 317.9 kB / 452.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.476e-05/0.3217, allocations: 32 kB / 452.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.3235, allocations: 0.7493 MB / 453.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.3237, allocations: 111.2 kB / 453.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004645/0.3242, allocations: 401.4 kB / 453.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.3265, allocations: 1.284 MB / 455 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3265, allocations: 0 / 455 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3265, allocations: 3.938 kB / 455 MB, free: 15.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.889e-05/0.3265, allocations: 0 / 455 MB, free: 15.72 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00228/0.3288, allocations: 1.274 MB / 456.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3289, allocations: 8.031 kB / 456.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.312e-05/0.3289, allocations: 66.72 kB / 456.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.3291, allocations: 124.2 kB / 456.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.3303, allocations: 0.6798 MB / 457.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.3303, allocations: 20.66 kB / 457.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.3304, allocations: 27.94 kB / 457.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/0.3311, allocations: 318 kB / 457.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3311, allocations: 4 kB / 457.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.3311, allocations: 12 kB / 457.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.3311, allocations: 15.98 kB / 457.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006608/0.3318, allocations: 278.4 kB / 457.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.334, allocations: 1.326 MB / 459.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007176/0.3347, allocations: 274.5 kB / 459.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004334/0.3351, allocations: 216.8 kB / 459.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003041/0.3382, allocations: 1.346 MB / 460.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004482/0.3386, allocations: 215.2 kB / 461.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.304e-06/0.3386, allocations: 0 / 461.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001495/0.3401, allocations: 0.5575 MB / 461.7 MB, free: 8.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.3402, allocations: 63.39 kB / 461.7 MB, free: 8.684 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009912/0.3412, allocations: 0.8072 MB / 462.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.3412, allocations: 25.7 kB / 462.6 MB, free: 7.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.3416, allocations: 441 kB / 463 MB, free: 7.395 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.3417, allocations: 119 kB / 463.1 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.3418, allocations: 73.98 kB / 463.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.342, allocations: 321.9 kB / 463.5 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.3423, allocations: 124.7 kB / 463.6 MB, free: 6.758 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.3426, allocations: 218.5 kB / 463.8 MB, free: 6.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.3442, allocations: 0.7087 MB / 464.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3442, allocations: 4 kB / 464.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001045/0.3453, allocations: 0.5141 MB / 465.1 MB, free: 5.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3453, allocations: 8 kB / 465.1 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.289e-05/0.3454, allocations: 36 kB / 465.1 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.3455, allocations: 28.84 kB / 465.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.3459, allocations: 99.66 kB / 465.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.3472, allocations: 1.33 MB / 466.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.3476, allocations: 39.72 kB / 466.6 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.3477, allocations: 28 kB / 466.6 MB, free: 3.539 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003829/0.348, allocations: 205.7 kB / 466.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.3482, allocations: 111.4 kB / 466.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.3493, allocations: 0.4923 MB / 467.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3493, allocations: 4 kB / 467.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3493, allocations: 0 / 467.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3493, allocations: 7.875 kB / 467.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007082/0.35, allocations: 0.5454 MB / 468 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.815e-05/0.3501, allocations: 43.98 kB / 468 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.3504, allocations: 51.95 kB / 468.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.3505, allocations: 28.84 kB / 468.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.3506, allocations: 7.938 kB / 468.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.3517, allocations: 1.338 MB / 469.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3517, allocations: 3.984 kB / 469.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.353, allocations: 0.6151 MB / 470.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.3532, allocations: 107.3 kB / 470.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.3533, allocations: 4 kB / 470.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.3535, allocations: 19.98 kB / 470.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.3536, allocations: 27.95 kB / 470.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.3536, allocations: 12 kB / 470.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006888/0.3543, allocations: 0.5465 MB / 470.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3543, allocations: 0 / 470.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006672/0.355, allocations: 247.3 kB / 471 MB, free: 14.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002109/0.3571, allocations: 1.414 MB / 472.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.3581, allocations: 464.8 kB / 472.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3581, allocations: 3.938 kB / 472.9 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005336/0.3587, allocations: 320.9 kB / 473.2 MB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/0.3593, allocations: 116.2 kB / 473.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009214/0.3685, allocations: 5.938 MB / 479.3 MB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.3691, allocations: 0.9525 MB / 480.2 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.3693, allocations: 85.2 kB / 480.3 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/0.3697, allocations: 315.3 kB / 480.6 MB, free: 5.051 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3697, allocations: 4 kB / 480.6 MB, free: 5.047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0585/0.4282, allocations: 17.75 MB / 498.4 MB, free: 3.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.47, allocations: 480 / 498.4 MB, free: 3.473 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.001e-10 --timeout=50 --tolerance=1e-08 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.829393225256354] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.560665282886475 12.57746828 12.247159883 Calling exit ...