Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001855/0.001855, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002197/0.002197, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.444/1.444, allocations: 230.4 MB / 254 MB, free: 15.01 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.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.89 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1096, allocations: 53.38 MB / 426.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.2151/0.3247, allocations: 5.089 MB / 431.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009473/0.3342, allocations: 10.85 MB / 442.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007642/0.3349, allocations: 42.75 kB / 442.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.3368, allocations: 0.6988 MB / 443 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.3401, allocations: 1.018 MB / 444 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.3419, allocations: 0.6006 MB / 444.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.3441, allocations: 1.39 MB / 446 MB, free: 304 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.3444, allocations: 113.8 kB / 446.1 MB, free: 232 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004308/0.3448, allocations: 309.5 kB / 446.4 MB, free: 92 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003835/0.3452, allocations: 319.8 kB / 446.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.817e-05/0.3453, allocations: 32.16 kB / 446.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.3472, allocations: 0.7445 MB / 447.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.3473, allocations: 112.2 kB / 447.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.3477, allocations: 403 kB / 448 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.3501, allocations: 1.28 MB / 449.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3501, allocations: 5.25 kB / 449.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3501, allocations: 0 / 449.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.3501, allocations: 0.9375 kB / 449.3 MB, free: 14.83 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.002848/0.3529, allocations: 1.353 MB / 450.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.353, allocations: 9.625 kB / 450.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.3531, allocations: 68.62 kB / 450.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.3533, allocations: 121 kB / 450.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.3544, allocations: 0.7586 MB / 451.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.3545, allocations: 23.95 kB / 451.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/0.3545, allocations: 24.94 kB / 451.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.3552, allocations: 315.4 kB / 452 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3552, allocations: 1.125 kB / 452 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.3553, allocations: 11.17 kB / 452 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.3553, allocations: 11.44 kB / 452 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007167/0.356, allocations: 281.1 kB / 452.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.3584, allocations: 1.367 MB / 453.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.3591, allocations: 280.6 kB / 453.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.3596, allocations: 206.9 kB / 454.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0043/0.3639, allocations: 2.8 MB / 456.9 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004912/0.3644, allocations: 199.2 kB / 457.1 MB, free: 9.406 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.494e-06/0.3644, allocations: 0 / 457.1 MB, free: 9.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001668/0.3661, allocations: 0.6411 MB / 457.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.3661, allocations: 54.81 kB / 457.8 MB, free: 9.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.3672, allocations: 0.8061 MB / 458.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.3672, allocations: 31.83 kB / 458.7 MB, free: 8.648 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.3676, allocations: 445.6 kB / 459.1 MB, free: 8.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.3677, allocations: 114.4 kB / 459.2 MB, free: 8.203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.3679, allocations: 71.84 kB / 459.3 MB, free: 8.164 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.368, allocations: 327.1 kB / 459.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.3683, allocations: 130.9 kB / 459.7 MB, free: 7.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.3687, allocations: 207.3 kB / 459.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.3703, allocations: 0.7159 MB / 460.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3703, allocations: 4 kB / 460.6 MB, free: 7.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001065/0.3714, allocations: 0.5087 MB / 461.2 MB, free: 7.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3714, allocations: 10.09 kB / 461.2 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.479e-05/0.3715, allocations: 40.3 kB / 461.2 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.3716, allocations: 28.23 kB / 461.2 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.372, allocations: 93.7 kB / 461.3 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.3733, allocations: 1.445 MB / 462.8 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.3737, allocations: 43.77 kB / 462.8 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.3738, allocations: 20.16 kB / 462.8 MB, free: 5.574 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.0003349/0.3741, allocations: 208.9 kB / 463 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.3742, allocations: 111.5 kB / 463.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.3753, allocations: 487.8 kB / 463.6 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3753, allocations: 4.062 kB / 463.6 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.3753, allocations: 1.5 kB / 463.6 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.3753, allocations: 7.922 kB / 463.6 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007311/0.3761, allocations: 0.5765 MB / 464.2 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.987e-05/0.3761, allocations: 35.09 kB / 464.2 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.3765, allocations: 63.11 kB / 464.3 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-05/0.3765, allocations: 28.83 kB / 464.3 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.3766, allocations: 10.12 kB / 464.3 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.3777, allocations: 1.441 MB / 465.8 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3777, allocations: 1.094 kB / 465.8 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.379, allocations: 0.6151 MB / 466.4 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.3793, allocations: 186.4 kB / 466.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.913e-05/0.3793, allocations: 10.88 kB / 466.6 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.3796, allocations: 16.11 kB / 466.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/0.3797, allocations: 29.06 kB / 466.6 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.3797, allocations: 10.16 kB / 466.6 MB, free: 2.547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007018/0.3804, allocations: 0.5477 MB / 467.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3804, allocations: 0 / 467.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000762/0.3812, allocations: 245.2 kB / 467.4 MB, free: 2.164 MB / 366.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.002211/0.3834, allocations: 1.417 MB / 468.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.3844, allocations: 474.4 kB / 469.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3844, allocations: 0 / 469.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.385, allocations: 313.3 kB / 469.6 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.3856, allocations: 123.3 kB / 469.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00899/0.3946, allocations: 5.942 MB / 475.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.3952, allocations: 0.9541 MB / 476.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002653/0.3955, allocations: 82.84 kB / 476.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.3958, allocations: 316.3 kB / 477 MB, free: 11.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3958, allocations: 0 / 477 MB, free: 11.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05402/0.4499, allocations: 17.53 MB / 494.6 MB, free: 11.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.54, allocations: 3.094 kB / 494.6 MB, free: 11.11 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.csv --start-time 0 --stop-time 1e-07 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 1.001e-10 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.091398415039293] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.633277507033199 12.660850001 12.305690092 Calling exit ...