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.001474/0.001474, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.001793/0.001793, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.541/1.541, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.001824/0.001824, allocations: 63.91 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1113, allocations: 53.33 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.2418/0.3531, allocations: 5.091 MB / 431.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009837/0.3629, allocations: 10.84 MB / 442.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006936/0.3636, allocations: 30.09 kB / 442.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.3655, allocations: 0.6973 MB / 443.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004134/0.3697, allocations: 1.015 MB / 444.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.3718, allocations: 0.6058 MB / 444.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002434/0.3743, allocations: 1.386 MB / 446.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.3746, allocations: 118.6 kB / 446.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005491/0.3751, allocations: 297.5 kB / 446.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004049/0.3755, allocations: 316.1 kB / 447 MB, free: 424 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.585e-05/0.3756, allocations: 32.47 kB / 447.1 MB, free: 424 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.3777, allocations: 0.7572 MB / 447.8 MB, free: 204 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.3778, allocations: 106.3 kB / 447.9 MB, free: 128 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004306/0.3783, allocations: 401.2 kB / 448.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.3807, allocations: 1.275 MB / 449.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3807, allocations: 6.031 kB / 449.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3807, allocations: 3.938 kB / 449.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.3807, allocations: 0 / 449.6 MB, free: 15.32 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.00263/0.3833, allocations: 1.353 MB / 451 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.3834, allocations: 10.55 kB / 451 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.49e-05/0.3835, allocations: 63.42 kB / 451 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.3837, allocations: 123 kB / 451.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.385, allocations: 0.7562 MB / 451.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.3851, allocations: 22.94 kB / 451.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.3851, allocations: 30.41 kB / 452 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007304/0.3859, allocations: 314.9 kB / 452.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3859, allocations: 0 / 452.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.3859, allocations: 11.11 kB / 452.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.3859, allocations: 7.797 kB / 452.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000678/0.3866, allocations: 281.5 kB / 452.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.3891, allocations: 1.371 MB / 453.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007309/0.3898, allocations: 277.1 kB / 454.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004229/0.3902, allocations: 212.6 kB / 454.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004499/0.3947, allocations: 2.797 MB / 457.2 MB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004949/0.3952, allocations: 204.3 kB / 457.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 3.186e-06/0.3952, allocations: 0 / 457.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001658/0.3969, allocations: 0.6327 MB / 458 MB, free: 9.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.3969, allocations: 56.02 kB / 458.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.3982, allocations: 0.8131 MB / 458.9 MB, free: 9.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.3982, allocations: 34.31 kB / 458.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/0.3986, allocations: 439.6 kB / 459.4 MB, free: 8.781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.3987, allocations: 120.5 kB / 459.5 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3989, allocations: 75.16 kB / 459.6 MB, free: 8.645 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.399, allocations: 326.2 kB / 459.9 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.3993, allocations: 120.4 kB / 460 MB, free: 8.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.3997, allocations: 211.4 kB / 460.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.4014, allocations: 0.713 MB / 460.9 MB, free: 7.809 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4014, allocations: 2.719 kB / 460.9 MB, free: 7.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001178/0.4026, allocations: 0.5157 MB / 461.4 MB, free: 7.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.4026, allocations: 11.41 kB / 461.5 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.614e-05/0.4026, allocations: 38.89 kB / 461.5 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.4028, allocations: 32.86 kB / 461.5 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.4032, allocations: 84.64 kB / 461.6 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.4046, allocations: 1.448 MB / 463.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.4051, allocations: 42.7 kB / 463.1 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.4051, allocations: 14.38 kB / 463.1 MB, free: 6.07 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.0004569/0.4056, allocations: 210.1 kB / 463.3 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.4057, allocations: 116.6 kB / 463.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.4069, allocations: 483.8 kB / 463.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.4069, allocations: 4.203 kB / 463.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4069, allocations: 1.125 kB / 463.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.4069, allocations: 4.641 kB / 463.9 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008481/0.4078, allocations: 0.5784 MB / 464.5 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.918e-05/0.4078, allocations: 38.06 kB / 464.5 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.4082, allocations: 61.52 kB / 464.6 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.4083, allocations: 29.53 kB / 464.6 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.4083, allocations: 13.83 kB / 464.6 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.4095, allocations: 1.443 MB / 466.1 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4095, allocations: 0 / 466.1 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.4108, allocations: 0.615 MB / 466.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.4112, allocations: 186.1 kB / 466.9 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.713e-05/0.4112, allocations: 7.156 kB / 466.9 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.4115, allocations: 17.14 kB / 466.9 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.559e-05/0.4116, allocations: 29.28 kB / 466.9 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.4116, allocations: 14.12 kB / 466.9 MB, free: 3.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000834/0.4124, allocations: 0.5432 MB / 467.5 MB, free: 2.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4124, allocations: 0 / 467.5 MB, free: 2.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009901/0.4134, allocations: 245.4 kB / 467.7 MB, free: 2.695 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.002518/0.4159, allocations: 1.415 MB / 469.1 MB, free: 1.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.4171, allocations: 475.6 kB / 469.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4171, allocations: 0 / 469.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005903/0.4177, allocations: 313.7 kB / 469.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.4186, allocations: 117.7 kB / 470 MB, free: 1.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.4321, allocations: 5.933 MB / 476 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/0.4329, allocations: 0.9581 MB / 476.9 MB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003426/0.4333, allocations: 87.42 kB / 477 MB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000446/0.4337, allocations: 316.5 kB / 477.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4337, allocations: 0 / 477.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06259/0.4963, allocations: 17.54 MB / 494.8 MB, free: 11.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.52, allocations: 14.7 kB / 494.9 MB, free: 11.64 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.001e-10 --timeout=50 --tolerance=1e-08 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.16543349204585] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.618198624812067 12.64445263 12.25859909 Calling exit ...