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.001734/0.001734, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002173/0.002173, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.5 MB / 258.2 MB, free: 8.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 59.89 kB / 378.6 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2555, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.007059/0.2626, allocations: 5.121 MB / 437.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.2774, allocations: 10.85 MB / 447.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.2785, allocations: 47.5 kB / 448 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.2806, allocations: 0.6966 MB / 448.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.2845, allocations: 1.028 MB / 449.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.2867, allocations: 0.6059 MB / 450.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.2894, allocations: 1.402 MB / 451.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.2897, allocations: 109.8 kB / 451.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.2901, allocations: 298.6 kB / 452.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/0.2905, allocations: 321.9 kB / 452.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.924e-05/0.2906, allocations: 39.88 kB / 452.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.2923, allocations: 0.7532 MB / 453.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.2924, allocations: 111.3 kB / 453.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000399/0.2928, allocations: 393.5 kB / 453.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.2947, allocations: 1.28 MB / 455 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2947, allocations: 0 / 455 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2947, allocations: 0 / 455 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.2948, allocations: 0 / 455 MB, free: 15.55 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.002066/0.2968, allocations: 1.278 MB / 456.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2969, allocations: 12.03 kB / 456.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.165e-05/0.2969, allocations: 12.78 kB / 456.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.965e-05/0.297, allocations: 66.72 kB / 456.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.2971, allocations: 124.2 kB / 456.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.2982, allocations: 0.6757 MB / 457.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.2982, allocations: 20.66 kB / 457.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/0.2983, allocations: 27.98 kB / 457.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.2989, allocations: 322 kB / 457.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2989, allocations: 0 / 457.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.299, allocations: 15.98 kB / 457.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.299, allocations: 4 kB / 457.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006389/0.2996, allocations: 278.4 kB / 457.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.3016, allocations: 1.326 MB / 459.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007004/0.3023, allocations: 278.5 kB / 459.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/0.3028, allocations: 221.4 kB / 459.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002801/0.3056, allocations: 1.342 MB / 461 MB, free: 9.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.306, allocations: 218.3 kB / 461.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.525e-06/0.306, allocations: 0 / 461.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001441/0.3075, allocations: 0.557 MB / 461.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.3075, allocations: 55.41 kB / 461.8 MB, free: 8.512 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009907/0.3085, allocations: 0.8072 MB / 462.6 MB, free: 7.688 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.3085, allocations: 37.69 kB / 462.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/0.3089, allocations: 441 kB / 463.1 MB, free: 7.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.775e-05/0.309, allocations: 111.1 kB / 463.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.3092, allocations: 77.97 kB / 463.3 MB, free: 7.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3093, allocations: 325.9 kB / 463.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.3096, allocations: 116.7 kB / 463.7 MB, free: 6.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.31, allocations: 218.5 kB / 463.9 MB, free: 6.332 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.3116, allocations: 0.7198 MB / 464.6 MB, free: 5.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3116, allocations: 0 / 464.6 MB, free: 5.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009888/0.3126, allocations: 0.5178 MB / 465.1 MB, free: 5.043 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3126, allocations: 6.5 kB / 465.1 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.948e-05/0.3126, allocations: 36 kB / 465.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.3128, allocations: 37.16 kB / 465.2 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.3131, allocations: 91.72 kB / 465.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.3144, allocations: 1.334 MB / 466.6 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.3147, allocations: 51.73 kB / 466.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.3147, allocations: 20 kB / 466.7 MB, free: 3.348 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.0003426/0.3151, allocations: 205.3 kB / 466.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3152, allocations: 115.3 kB / 467 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.3163, allocations: 492.2 kB / 467.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3163, allocations: 4 kB / 467.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3163, allocations: 0 / 467.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.3163, allocations: 15.86 kB / 467.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006559/0.317, allocations: 0.5337 MB / 468.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.073e-05/0.317, allocations: 35.98 kB / 468.1 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.3173, allocations: 63.89 kB / 468.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.828e-05/0.3174, allocations: 20.84 kB / 468.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.3175, allocations: 23.98 kB / 468.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.3186, allocations: 1.334 MB / 469.5 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3186, allocations: 3.984 kB / 469.5 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.3197, allocations: 0.6112 MB / 470.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.32, allocations: 107.3 kB / 470.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.8e-05/0.32, allocations: 8.234 kB / 470.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.3203, allocations: 19.97 kB / 470.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.3204, allocations: 27.91 kB / 470.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.3204, allocations: 15.97 kB / 470.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006542/0.3211, allocations: 0.5426 MB / 470.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3211, allocations: 8 kB / 470.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006548/0.3217, allocations: 243.3 kB / 471.1 MB, free: 14.74 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.002092/0.3238, allocations: 1.41 MB / 472.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009945/0.3248, allocations: 473.9 kB / 473 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3248, allocations: 3.938 kB / 473 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004989/0.3253, allocations: 312.2 kB / 473.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.3259, allocations: 116.3 kB / 473.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008687/0.3345, allocations: 5.927 MB / 479.3 MB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.3351, allocations: 0.9525 MB / 480.3 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000263/0.3354, allocations: 93.19 kB / 480.4 MB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/0.3357, allocations: 315.3 kB / 480.7 MB, free: 4.871 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3357, allocations: 0 / 480.7 MB, free: 4.871 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04929/0.385, allocations: 17.82 MB / 498.5 MB, free: 3.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.32, allocations: 8.203 kB / 498.5 MB, free: 3.164 MB / 398.1 MB " [Timeout remaining time 646] (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: 16.76165725500323] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 14.48915182298515 14.50519988 14.20695006 Calling exit ...