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.001322/0.001322, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001567/0.001567, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.545/1.545, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.001963/0.001963, allocations: 71.83 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1309, allocations: 53.34 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.2438/0.3747, allocations: 5.086 MB / 432.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009932/0.3846, allocations: 10.84 MB / 442.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007539/0.3854, allocations: 45.28 kB / 443 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.3873, allocations: 0.6999 MB / 443.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.3909, allocations: 1.016 MB / 444.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.3929, allocations: 0.6038 MB / 445.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002178/0.395, allocations: 1.385 MB / 446.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.3953, allocations: 119 kB / 446.8 MB, free: 436 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.3957, allocations: 304.5 kB / 447.1 MB, free: 300 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.3961, allocations: 320.8 kB / 447.4 MB, free: 128 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.593e-05/0.3962, allocations: 31.94 kB / 447.4 MB, free: 128 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.398, allocations: 0.7523 MB / 448.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.3981, allocations: 103.4 kB / 448.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004746/0.3986, allocations: 401.7 kB / 448.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.4009, allocations: 1.284 MB / 450 MB, free: 15.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.4009, allocations: 1.156 kB / 450 MB, free: 15.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.4009, allocations: 0 / 450 MB, free: 15.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.402e-05/0.4009, allocations: 0.7031 kB / 450 MB, free: 15.04 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.002494/0.4034, allocations: 1.355 MB / 451.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.4035, allocations: 9.312 kB / 451.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.427e-05/0.4036, allocations: 65.47 kB / 451.4 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.4037, allocations: 121.8 kB / 451.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.4049, allocations: 0.7545 MB / 452.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.4049, allocations: 23.41 kB / 452.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.405, allocations: 34.16 kB / 452.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.4057, allocations: 319.6 kB / 452.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.4057, allocations: 1.469 kB / 452.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.4058, allocations: 10.16 kB / 452.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.4058, allocations: 8.25 kB / 452.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007388/0.4065, allocations: 281 kB / 452.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.4089, allocations: 1.367 MB / 454.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007423/0.4097, allocations: 278 kB / 454.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.4101, allocations: 215.8 kB / 454.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004087/0.4142, allocations: 2.795 MB / 457.6 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005046/0.4147, allocations: 208.9 kB / 457.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.4147, allocations: 0 / 457.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001655/0.4164, allocations: 0.6325 MB / 458.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.4164, allocations: 62.95 kB / 458.5 MB, free: 9.211 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009997/0.4174, allocations: 0.8074 MB / 459.3 MB, free: 8.879 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.4174, allocations: 30.89 kB / 459.3 MB, free: 8.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.4178, allocations: 443 kB / 459.8 MB, free: 8.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.4179, allocations: 113.3 kB / 459.9 MB, free: 8.402 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.4181, allocations: 76.27 kB / 459.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4182, allocations: 322.4 kB / 460.3 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.4186, allocations: 124.9 kB / 460.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/0.419, allocations: 211.8 kB / 460.6 MB, free: 7.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.4207, allocations: 0.7144 MB / 461.3 MB, free: 7.523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4207, allocations: 5.406 kB / 461.3 MB, free: 7.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001153/0.4218, allocations: 0.5165 MB / 461.8 MB, free: 7.281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4218, allocations: 6.25 kB / 461.8 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.078e-05/0.4219, allocations: 36.02 kB / 461.9 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.422, allocations: 32.03 kB / 461.9 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.4224, allocations: 86.77 kB / 462 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.4238, allocations: 1.444 MB / 463.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.4243, allocations: 43.8 kB / 463.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.4243, allocations: 14.5 kB / 463.5 MB, free: 5.789 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.0003667/0.4247, allocations: 216.5 kB / 463.7 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.4248, allocations: 113.9 kB / 463.8 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.426, allocations: 489.4 kB / 464.3 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.426, allocations: 3.938 kB / 464.3 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.426, allocations: 0 / 464.3 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.426, allocations: 5.219 kB / 464.3 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008567/0.4268, allocations: 0.5762 MB / 464.9 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-05/0.4269, allocations: 40.59 kB / 464.9 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.4273, allocations: 60.56 kB / 465 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.4274, allocations: 28.91 kB / 465 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.4274, allocations: 8.906 kB / 465 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.4287, allocations: 1.441 MB / 466.4 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4287, allocations: 3.984 kB / 466.4 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.4301, allocations: 0.6157 MB / 467.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.4304, allocations: 182.7 kB / 467.2 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.781e-05/0.4305, allocations: 10 kB / 467.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.4307, allocations: 18.66 kB / 467.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/0.4308, allocations: 30.06 kB / 467.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.4308, allocations: 13.19 kB / 467.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007803/0.4316, allocations: 0.5396 MB / 467.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4316, allocations: 1.5 kB / 467.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008961/0.4325, allocations: 248.2 kB / 468.1 MB, free: 2.387 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.002544/0.435, allocations: 1.416 MB / 469.5 MB, free: 1.387 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.4362, allocations: 470.2 kB / 470 MB, free: 1.105 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4362, allocations: 0 / 470 MB, free: 1.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000574/0.4367, allocations: 313.2 kB / 470.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/0.4374, allocations: 126.8 kB / 470.4 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.4478, allocations: 5.936 MB / 476.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/0.4485, allocations: 0.9574 MB / 477.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000315/0.4488, allocations: 79.03 kB / 477.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/0.4492, allocations: 315.5 kB / 477.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4492, allocations: 0 / 477.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05361/0.5028, allocations: 17.55 MB / 495.2 MB, free: 11.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.13, allocations: 7.938 kB / 495.2 MB, free: 11.4 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_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: 15.77110723592341] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 13.220959423109889 13.237866575 12.833575373 Calling exit ...