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.001856/0.001856, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002362/0.002362, allocations: 219 kB / 23 MB, free: 5.609 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.43/1.43, allocations: 230.5 MB / 256.5 MB, free: 8.406 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.001845/0.001845, allocations: 63.84 kB / 376.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2833, allocations: 53.31 MB / 429.5 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006878/0.2902, allocations: 5.132 MB / 434.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.3038, allocations: 10.85 MB / 445.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008279/0.3046, allocations: 31.81 kB / 445.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.3066, allocations: 0.6947 MB / 446.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.31, allocations: 1.018 MB / 447.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.3116, allocations: 0.6076 MB / 447.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002183/0.3137, allocations: 1.397 MB / 449.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.314, allocations: 117.2 kB / 449.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003731/0.3144, allocations: 286.6 kB / 449.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/0.3148, allocations: 321.9 kB / 450 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.3149, allocations: 35.94 kB / 450 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.3164, allocations: 0.7454 MB / 450.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.3166, allocations: 107.3 kB / 450.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000369/0.3169, allocations: 397.4 kB / 451.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.3186, allocations: 1.284 MB / 452.5 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3187, allocations: 0 / 452.5 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3187, allocations: 0 / 452.5 MB, free: 304 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.3187, allocations: 0 / 452.5 MB, free: 304 kB / 350.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.002229/0.3209, allocations: 1.357 MB / 453.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3209, allocations: 8.031 kB / 453.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.64e-05/0.321, allocations: 66.72 kB / 453.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.3212, allocations: 120.2 kB / 454.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.3224, allocations: 0.7674 MB / 454.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.3225, allocations: 16.56 kB / 454.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.3225, allocations: 28 kB / 454.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/0.3232, allocations: 317.3 kB / 455.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3232, allocations: 3.984 kB / 455.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.3233, allocations: 12 kB / 455.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.3233, allocations: 8 kB / 455.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006995/0.324, allocations: 282.2 kB / 455.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.3262, allocations: 1.365 MB / 456.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000701/0.3269, allocations: 274.5 kB / 457.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004283/0.3274, allocations: 208.8 kB / 457.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003754/0.3311, allocations: 2.802 MB / 460.1 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000475/0.3316, allocations: 207.2 kB / 460.3 MB, free: 7.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.795e-06/0.3316, allocations: 3.938 kB / 460.3 MB, free: 7.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.00163/0.3332, allocations: 0.6393 MB / 461 MB, free: 7.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.3333, allocations: 59.41 kB / 461 MB, free: 7.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.3344, allocations: 0.8073 MB / 461.8 MB, free: 6.305 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.3344, allocations: 29.7 kB / 461.9 MB, free: 6.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004496/0.3349, allocations: 448.9 kB / 462.3 MB, free: 5.828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.335, allocations: 111 kB / 462.4 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.3351, allocations: 73.98 kB / 462.5 MB, free: 5.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3353, allocations: 325.9 kB / 462.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.3356, allocations: 120.7 kB / 462.9 MB, free: 5.199 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.336, allocations: 214.6 kB / 463.1 MB, free: 4.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.3376, allocations: 0.7087 MB / 463.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3376, allocations: 4 kB / 463.8 MB, free: 4.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009847/0.3386, allocations: 0.5141 MB / 464.3 MB, free: 3.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3386, allocations: 8 kB / 464.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.974e-05/0.3387, allocations: 39.98 kB / 464.4 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.3388, allocations: 28.84 kB / 464.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.3392, allocations: 91.72 kB / 464.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.3406, allocations: 1.445 MB / 466 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.3409, allocations: 39.77 kB / 466 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.3409, allocations: 28 kB / 466 MB, free: 1.855 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.0003412/0.3413, allocations: 209.7 kB / 466.2 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.3414, allocations: 111.3 kB / 466.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.3425, allocations: 492.2 kB / 466.8 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3425, allocations: 4 kB / 466.8 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3425, allocations: 0 / 466.8 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3425, allocations: 3.938 kB / 466.8 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/0.3431, allocations: 0.5735 MB / 467.4 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.956e-05/0.3432, allocations: 36 kB / 467.4 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.3435, allocations: 59.92 kB / 467.5 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.639e-05/0.3436, allocations: 28.84 kB / 467.5 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.3436, allocations: 8 kB / 467.5 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.3448, allocations: 1.433 MB / 469 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3448, allocations: 0 / 469 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.346, allocations: 0.6197 MB / 469.6 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.3462, allocations: 184.4 kB / 469.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.901e-05/0.3463, allocations: 8 kB / 469.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.3465, allocations: 19.97 kB / 469.8 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/0.3466, allocations: 23.97 kB / 469.8 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.3466, allocations: 20 kB / 469.8 MB, free: 13.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006458/0.3473, allocations: 0.5426 MB / 470.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3473, allocations: 0 / 470.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006474/0.3479, allocations: 251.3 kB / 470.6 MB, free: 12.99 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.00206/0.35, allocations: 1.414 MB / 472 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.351, allocations: 468.8 kB / 472.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.351, allocations: 0 / 472.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.3515, allocations: 320.4 kB / 472.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.3521, allocations: 108.3 kB / 472.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008994/0.3611, allocations: 5.952 MB / 478.9 MB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/0.3617, allocations: 0.9525 MB / 479.8 MB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002629/0.362, allocations: 85.22 kB / 479.9 MB, free: 3.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003754/0.3623, allocations: 319.3 kB / 480.2 MB, free: 3.098 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3623, allocations: 0 / 480.2 MB, free: 3.098 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07206/0.4344, allocations: 17.54 MB / 497.8 MB, free: 1.715 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.35, allocations: 2.703 kB / 497.8 MB, free: 1.715 MB / 398.1 MB " [Timeout remaining time 648] (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 --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.683936817018548] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.44623137000599 12.475124542 12.151148285 Calling exit ...