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.00523/0.00523, allocations: 106 kB / 21.98 MB, free: 5.227 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.001392/0.001392, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.431/1.431, allocations: 230.6 MB / 259 MB, free: 8.023 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: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [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.001954/0.001954, allocations: 68.55 kB / 379.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2728, allocations: 53.37 MB / 433.2 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006402/0.2792, allocations: 5.117 MB / 438.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01307/0.2923, allocations: 10.85 MB / 449.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009091/0.2932, allocations: 43.56 kB / 449.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.2952, allocations: 0.7061 MB / 449.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003621/0.2989, allocations: 1.024 MB / 450.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.3007, allocations: 0.6097 MB / 451.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002395/0.3031, allocations: 1.402 MB / 452.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.3033, allocations: 113.8 kB / 453 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000406/0.3037, allocations: 298.6 kB / 453.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004049/0.3041, allocations: 321.9 kB / 453.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.3042, allocations: 36 kB / 453.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.306, allocations: 0.7493 MB / 454.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3061, allocations: 103.3 kB / 454.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.3064, allocations: 401.4 kB / 454.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.3081, allocations: 1.284 MB / 456.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3082, allocations: 0 / 456.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3082, allocations: 0 / 456.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3082, allocations: 0 / 456.2 MB, free: 15.77 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.002014/0.3102, allocations: 1.282 MB / 457.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3102, allocations: 8.031 kB / 457.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.3104, allocations: 124.2 kB / 457.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.3115, allocations: 0.68 MB / 458.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.3115, allocations: 24.59 kB / 458.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/0.3116, allocations: 27.98 kB / 458.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006801/0.3122, allocations: 322 kB / 458.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3123, allocations: 0 / 458.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.3123, allocations: 15.94 kB / 458.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.3123, allocations: 8 kB / 458.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.313, allocations: 278.5 kB / 459 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.315, allocations: 1.326 MB / 460.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007273/0.3158, allocations: 278.5 kB / 460.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004303/0.3162, allocations: 212.8 kB / 460.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002874/0.3191, allocations: 1.338 MB / 462.1 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004558/0.3195, allocations: 215.2 kB / 462.3 MB, free: 9.449 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.165e-06/0.3195, allocations: 3.938 kB / 462.3 MB, free: 9.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001461/0.321, allocations: 0.5536 MB / 462.9 MB, free: 8.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.321, allocations: 59.34 kB / 462.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009796/0.322, allocations: 0.8073 MB / 463.7 MB, free: 7.988 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.322, allocations: 25.7 kB / 463.8 MB, free: 7.957 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.3224, allocations: 452.9 kB / 464.2 MB, free: 7.512 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.804e-05/0.3225, allocations: 115.1 kB / 464.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3226, allocations: 73.98 kB / 464.4 MB, free: 7.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3228, allocations: 321.9 kB / 464.7 MB, free: 7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.3231, allocations: 120.7 kB / 464.8 MB, free: 6.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.3235, allocations: 218.6 kB / 465 MB, free: 6.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.3251, allocations: 0.7087 MB / 465.7 MB, free: 5.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3251, allocations: 0 / 465.7 MB, free: 5.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001007/0.3261, allocations: 0.5187 MB / 466.3 MB, free: 5.355 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3262, allocations: 7.984 kB / 466.3 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.338e-05/0.3262, allocations: 36 kB / 466.3 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001311/0.3264, allocations: 29.22 kB / 466.3 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.3267, allocations: 87.88 kB / 466.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.328, allocations: 1.35 MB / 467.8 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.3283, allocations: 51.72 kB / 467.8 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.3283, allocations: 16 kB / 467.8 MB, free: 3.656 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.0003307/0.3286, allocations: 205.6 kB / 468 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.3288, allocations: 115.4 kB / 468.1 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.3299, allocations: 488.2 kB / 468.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.3299, allocations: 8.031 kB / 468.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.3299, allocations: 3.938 kB / 468.6 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3299, allocations: 3.938 kB / 468.6 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006401/0.3305, allocations: 0.553 MB / 469.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.832e-05/0.3306, allocations: 36 kB / 469.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.3309, allocations: 55.94 kB / 469.3 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.275e-05/0.331, allocations: 28.84 kB / 469.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.331, allocations: 16 kB / 469.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.3321, allocations: 1.334 MB / 470.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3321, allocations: 0 / 470.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.3333, allocations: 0.6189 MB / 471.3 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.3336, allocations: 107.5 kB / 471.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/0.3336, allocations: 4 kB / 471.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.3339, allocations: 19.98 kB / 471.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/0.334, allocations: 27.95 kB / 471.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.334, allocations: 12 kB / 471.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007495/0.3348, allocations: 0.5426 MB / 472 MB, free: 15.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3348, allocations: 0 / 472 MB, free: 15.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006365/0.3354, allocations: 247.4 kB / 472.2 MB, free: 15.04 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.0006121/0.336, allocations: 369.8 kB / 472.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.337, allocations: 465.3 kB / 473 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.337, allocations: 7.938 kB / 473 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005097/0.3375, allocations: 312.2 kB / 473.4 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005459/0.3381, allocations: 112.1 kB / 473.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.3411, allocations: 1.733 MB / 475.2 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006446/0.3418, allocations: 0.9566 MB / 476.2 MB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.3419, allocations: 43.44 kB / 476.2 MB, free: 10.97 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3419, allocations: 0 / 476.2 MB, free: 10.97 MB / 382.1 MB Notification: Performance of Templates: time 0.01968/0.3616, allocations: 14.1 MB / 490.3 MB, free: 12.88 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (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 & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.060020416975021] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.37085866718553007 0.39139253500000004 0.079052011 Calling exit ...