Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 187.3 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 59.91 kB / 370.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2542, allocations: 52.18 MB / 422.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006618/0.2609, allocations: 5.119 MB / 427.7 MB, free: 9.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.2742, allocations: 10.82 MB / 438.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009995/0.2752, allocations: 39.56 kB / 438.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.2772, allocations: 0.7008 MB / 439.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003752/0.281, allocations: 1.02 MB / 440.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.2826, allocations: 0.6098 MB / 440.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002294/0.2849, allocations: 1.378 MB / 442.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.2851, allocations: 117.8 kB / 442.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/0.2855, allocations: 302.5 kB / 442.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/0.2859, allocations: 321.9 kB / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.286, allocations: 35.94 kB / 443.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.2875, allocations: 0.7376 MB / 443.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.2876, allocations: 111.2 kB / 443.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003837/0.288, allocations: 409.4 kB / 444.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.2897, allocations: 1.272 MB / 445.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2897, allocations: 4 kB / 445.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2897, allocations: 0 / 445.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.2897, allocations: 0 / 445.6 MB, free: 7.688 MB / 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.001964/0.2917, allocations: 1.286 MB / 446.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2917, allocations: 12.03 kB / 446.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.868e-05/0.2918, allocations: 62.72 kB / 446.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.292, allocations: 124.2 kB / 447.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.2931, allocations: 0.6876 MB / 447.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.2931, allocations: 24.66 kB / 447.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.2931, allocations: 24 kB / 447.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006332/0.2938, allocations: 321.9 kB / 448.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2938, allocations: 0 / 448.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.2938, allocations: 12 kB / 448.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.2938, allocations: 4 kB / 448.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006409/0.2945, allocations: 282.5 kB / 448.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.2965, allocations: 1.323 MB / 449.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.2972, allocations: 274.5 kB / 450 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/0.2976, allocations: 208.8 kB / 450.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003448/0.301, allocations: 1.471 MB / 451.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/0.3015, allocations: 191.3 kB / 451.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.134e-06/0.3015, allocations: 0 / 451.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00155/0.303, allocations: 0.5804 MB / 452.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.3031, allocations: 55.41 kB / 452.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009875/0.304, allocations: 0.8192 MB / 453.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.3041, allocations: 29.7 kB / 453.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/0.3045, allocations: 448.9 kB / 453.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.887e-05/0.3046, allocations: 111 kB / 453.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.3047, allocations: 66.03 kB / 454 MB, free: 15.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3049, allocations: 329.9 kB / 454.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.3052, allocations: 116.7 kB / 454.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.3055, allocations: 224 kB / 454.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.3062, allocations: 361.3 kB / 455 MB, free: 13.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3062, allocations: 4 kB / 455 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000994/0.3072, allocations: 0.5253 MB / 455.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3072, allocations: 12.38 kB / 455.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.719e-05/0.3073, allocations: 40 kB / 455.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.3075, allocations: 53.67 kB / 455.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.3078, allocations: 75.88 kB / 455.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.3101, allocations: 2.646 MB / 458.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.3104, allocations: 39.77 kB / 458.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.3104, allocations: 20 kB / 458.4 MB, free: 10.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000287/0.3107, allocations: 215.1 kB / 458.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3108, allocations: 111.3 kB / 458.7 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.3119, allocations: 485.8 kB / 459.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3119, allocations: 4 kB / 459.2 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3119, allocations: 0 / 459.2 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3119, allocations: 0 / 459.2 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006195/0.3125, allocations: 0.5379 MB / 459.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.146e-05/0.3126, allocations: 39.92 kB / 459.7 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.3128, allocations: 43.95 kB / 459.8 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/0.313, allocations: 49.69 kB / 459.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.313, allocations: 8 kB / 459.8 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.3151, allocations: 2.645 MB / 462.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3151, allocations: 4.031 kB / 462.5 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.3163, allocations: 0.6041 MB / 463.1 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.3165, allocations: 111.2 kB / 463.2 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.3166, allocations: 4 kB / 463.2 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.3168, allocations: 15.98 kB / 463.2 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.3169, allocations: 32.02 kB / 463.3 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.3169, allocations: 11.98 kB / 463.3 MB, free: 5.043 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007096/0.3177, allocations: 0.5467 MB / 463.8 MB, free: 4.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3177, allocations: 3.938 kB / 463.8 MB, free: 4.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007416/0.3184, allocations: 247.4 kB / 464.1 MB, free: 4.242 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * 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 (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.002151/0.3205, allocations: 1.403 MB / 465.5 MB, free: 2.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.3217, allocations: 0.569 MB / 466 MB, free: 2.199 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3217, allocations: 0.875 kB / 466 MB, free: 2.199 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006156/0.3223, allocations: 424.6 kB / 466.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005668/0.3229, allocations: 120.2 kB / 466.6 MB, free: 1.637 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008278/0.3311, allocations: 5.804 MB / 472.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/0.3317, allocations: 0.9522 MB / 473.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002389/0.332, allocations: 85.2 kB / 473.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/0.3323, allocations: 335.3 kB / 473.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3323, allocations: 0 / 473.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07856/0.4109, allocations: 17.86 MB / 491.6 MB, free: 8.555 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14, allocations: 0.7031 kB / 491.6 MB, free: 8.555 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.001e-10 --timeout=50 --tolerance=1e-08 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.322852476965636] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 14.112781526055187 14.129842068 13.836740494 Calling exit ...