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.001359/0.001359, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001504/0.001504, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.424/1.424, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.001822/0.001822, allocations: 59.91 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2551, allocations: 53.41 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006007/0.2611, allocations: 4.482 MB / 436.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.2731, allocations: 9.31 MB / 445.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007959/0.2739, allocations: 47.5 kB / 445.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.2757, allocations: 0.6204 MB / 446.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.279, allocations: 1.028 MB / 447.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.2807, allocations: 0.5979 MB / 448 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003209/0.2839, allocations: 1.398 MB / 449.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.2842, allocations: 113.8 kB / 449.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006052/0.2848, allocations: 302.5 kB / 449.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005446/0.2854, allocations: 317.9 kB / 450.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.036e-05/0.2854, allocations: 35.94 kB / 450.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.2876, allocations: 0.7064 MB / 450.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.2877, allocations: 107.3 kB / 451 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004376/0.2882, allocations: 298.1 kB / 451.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.2906, allocations: 1.295 MB / 452.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2906, allocations: 0 / 452.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2906, allocations: 0 / 452.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.2906, allocations: 0 / 452.5 MB, free: 1.734 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.002723/0.2934, allocations: 1.282 MB / 453.8 MB, free: 428 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.2934, allocations: 8.031 kB / 453.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.819e-05/0.2934, allocations: 16.78 kB / 453.8 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.095e-05/0.2935, allocations: 66.72 kB / 453.9 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.2937, allocations: 120.2 kB / 454 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.2952, allocations: 0.6836 MB / 454.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.2952, allocations: 16.66 kB / 454.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.865e-05/0.2953, allocations: 28 kB / 454.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009194/0.2963, allocations: 322 kB / 455.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2963, allocations: 0 / 455.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.2963, allocations: 12 kB / 455.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.2963, allocations: 7.984 kB / 455.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009152/0.2973, allocations: 278.5 kB / 455.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.3, allocations: 1.26 MB / 456.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/0.3009, allocations: 282.1 kB / 456.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005684/0.3015, allocations: 213.4 kB / 457.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003951/0.3055, allocations: 1.315 MB / 458.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006696/0.3061, allocations: 210.3 kB / 458.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 3.146e-06/0.3061, allocations: 0 / 458.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001994/0.3081, allocations: 0.5646 MB / 459.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.3082, allocations: 55.41 kB / 459.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.3095, allocations: 0.8072 MB / 460.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.3095, allocations: 33.69 kB / 460.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004982/0.31, allocations: 448.9 kB / 460.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.3102, allocations: 107 kB / 460.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.3104, allocations: 77.97 kB / 460.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3105, allocations: 325.9 kB / 461 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/0.311, allocations: 116.7 kB / 461.1 MB, free: 8.859 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.3115, allocations: 222.5 kB / 461.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.3138, allocations: 0.7078 MB / 462.1 MB, free: 7.855 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3138, allocations: 0 / 462.1 MB, free: 7.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001405/0.3152, allocations: 0.5181 MB / 462.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.3152, allocations: 4 kB / 462.6 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-05/0.3153, allocations: 36.38 kB / 462.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001927/0.3155, allocations: 48.7 kB / 462.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/0.316, allocations: 87.81 kB / 462.8 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.3178, allocations: 1.338 MB / 464.1 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.3183, allocations: 39.77 kB / 464.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/0.3184, allocations: 24.06 kB / 464.2 MB, free: 5.629 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.000468/0.3188, allocations: 201.7 kB / 464.3 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.319, allocations: 115.3 kB / 464.5 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.3205, allocations: 0.4885 MB / 464.9 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3205, allocations: 4 kB / 465 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3205, allocations: 0 / 465 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.3205, allocations: 3.938 kB / 465 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000914/0.3215, allocations: 0.4989 MB / 465.5 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.689e-05/0.3215, allocations: 36 kB / 465.5 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.322, allocations: 59.89 kB / 465.5 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.3221, allocations: 24.84 kB / 465.6 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/0.3221, allocations: 15.98 kB / 465.6 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.3238, allocations: 1.326 MB / 466.9 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3238, allocations: 0 / 466.9 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.3255, allocations: 0.6226 MB / 467.5 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.3258, allocations: 111.2 kB / 467.6 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.3259, allocations: 8 kB / 467.7 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.3263, allocations: 19.86 kB / 467.7 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.3264, allocations: 27.95 kB / 467.7 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.3265, allocations: 16 kB / 467.7 MB, free: 1.859 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00131/0.3278, allocations: 0.5465 MB / 468.3 MB, free: 1.305 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3278, allocations: 0 / 468.3 MB, free: 1.305 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009718/0.3287, allocations: 243.3 kB / 468.5 MB, free: 1.066 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.002998/0.3317, allocations: 1.41 MB / 469.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.3331, allocations: 473.8 kB / 470.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3331, allocations: 4.062 kB / 470.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006909/0.3338, allocations: 312.2 kB / 470.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009156/0.3347, allocations: 116.2 kB / 470.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.345, allocations: 5.938 MB / 476.7 MB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.3454, allocations: 365.7 kB / 477.1 MB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002705/0.3456, allocations: 85.2 kB / 477.2 MB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/0.346, allocations: 315.3 kB / 477.5 MB, free: 7.785 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.346, allocations: 4 kB / 477.5 MB, free: 7.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04958/0.3956, allocations: 18.15 MB / 495.6 MB, free: 5.773 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.24, allocations: 12.56 kB / 495.7 MB, free: 5.762 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.60410260304343] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 14.41076017904561 14.427107052 14.133254078 Calling exit ...