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.001723/0.001723, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001797/0.001797, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.458/1.458, allocations: 230.5 MB / 258.1 MB, free: 7.789 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: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.89 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2709, allocations: 53.41 MB / 432.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005965/0.2769, allocations: 4.486 MB / 436.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.2888, allocations: 9.318 MB / 446.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007598/0.2895, allocations: 47.5 kB / 446.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.2914, allocations: 0.6209 MB / 446.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003228/0.2946, allocations: 1.024 MB / 447.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.2965, allocations: 0.5978 MB / 448.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002638/0.2992, allocations: 1.402 MB / 449.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.2995, allocations: 105.8 kB / 450 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.2999, allocations: 302.5 kB / 450.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.3003, allocations: 297.9 kB / 450.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.738e-05/0.3004, allocations: 32 kB / 450.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.3021, allocations: 0.6713 MB / 451.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3022, allocations: 115.2 kB / 451.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.3025, allocations: 294.1 kB / 451.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.3043, allocations: 1.291 MB / 453 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3043, allocations: 0 / 453 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3043, allocations: 0 / 453 MB, free: 1.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.3043, allocations: 0 / 453 MB, free: 1.879 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.002061/0.3063, allocations: 1.274 MB / 454.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3064, allocations: 15.98 kB / 454.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.3065, allocations: 124.1 kB / 454.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.3077, allocations: 0.6801 MB / 455.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.3078, allocations: 24.59 kB / 455.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.3078, allocations: 24 kB / 455.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.3085, allocations: 325.9 kB / 455.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3085, allocations: 0 / 455.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.3085, allocations: 15.94 kB / 455.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.3085, allocations: 11.98 kB / 455.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006596/0.3092, allocations: 274.5 kB / 455.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.3112, allocations: 1.21 MB / 456.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007317/0.3119, allocations: 270.5 kB / 457.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004292/0.3123, allocations: 221.4 kB / 457.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002969/0.3153, allocations: 1.311 MB / 458.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004675/0.3158, allocations: 210.2 kB / 458.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.325e-06/0.3158, allocations: 8 kB / 458.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001552/0.3173, allocations: 0.553 MB / 459.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.3174, allocations: 59.41 kB / 459.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000998/0.3184, allocations: 0.7986 MB / 460.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.3184, allocations: 29.7 kB / 460.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/0.3188, allocations: 444.8 kB / 460.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.3189, allocations: 115 kB / 460.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.319, allocations: 70.03 kB / 461 MB, free: 9.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3192, allocations: 329.9 kB / 461.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.3195, allocations: 116.7 kB / 461.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.3199, allocations: 222.6 kB / 461.6 MB, free: 8.906 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.3215, allocations: 0.7078 MB / 462.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3215, allocations: 0 / 462.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001008/0.3225, allocations: 0.5142 MB / 462.9 MB, free: 7.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3225, allocations: 8 kB / 462.9 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.888e-05/0.3226, allocations: 36 kB / 462.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/0.3227, allocations: 33.22 kB / 462.9 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.3231, allocations: 87.78 kB / 463 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.3243, allocations: 1.327 MB / 464.3 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.3246, allocations: 39.7 kB / 464.4 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/0.3246, allocations: 20 kB / 464.4 MB, free: 5.973 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.0003719/0.325, allocations: 205.8 kB / 464.6 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.3251, allocations: 115.2 kB / 464.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.3263, allocations: 0.4884 MB / 465.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3263, allocations: 0 / 465.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3263, allocations: 0 / 465.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3264, allocations: 7.984 kB / 465.2 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006442/0.327, allocations: 470.4 kB / 465.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-05/0.3271, allocations: 32 kB / 465.7 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.3274, allocations: 59.95 kB / 465.8 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.3275, allocations: 32.83 kB / 465.8 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-05/0.3276, allocations: 15.94 kB / 465.8 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.3287, allocations: 1.299 MB / 467.1 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3287, allocations: 7.969 kB / 467.1 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.3299, allocations: 0.6187 MB / 467.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.3301, allocations: 107.4 kB / 467.8 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.597e-05/0.3302, allocations: 11.94 kB / 467.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.3304, allocations: 11.98 kB / 467.9 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.3305, allocations: 31.94 kB / 467.9 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.3306, allocations: 15.94 kB / 467.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006859/0.3312, allocations: 0.5344 MB / 468.4 MB, free: 1.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3312, allocations: 4 kB / 468.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006567/0.3319, allocations: 247.4 kB / 468.7 MB, free: 1.496 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.0006231/0.3325, allocations: 364 kB / 469 MB, free: 1.133 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.3335, allocations: 469.4 kB / 469.5 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3335, allocations: 0 / 469.5 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005263/0.3341, allocations: 312.2 kB / 469.8 MB, free: 340 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005917/0.3347, allocations: 116.3 kB / 469.9 MB, free: 224 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.3377, allocations: 1.724 MB / 471.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.3381, allocations: 361.9 kB / 472 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.3382, allocations: 51.42 kB / 472.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3382, allocations: 0 / 472.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of Templates: time 0.01996/0.3581, allocations: 14.47 MB / 486.5 MB, free: 15.55 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.085694008972496] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.36703331721946597 0.38222672700000004 0.07465705 Calling exit ...