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.001549/0.001549, allocations: 114.9 kB / 19.17 MB, free: 3.871 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.001682/0.001682, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.415/1.415, allocations: 230.4 MB / 255.4 MB, free: 15.02 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.001912/0.001912, allocations: 68.03 kB / 374.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09652/0.09843, allocations: 53.32 MB / 428.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.1809/0.2794, allocations: 5.089 MB / 433.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008824/0.2882, allocations: 10.84 MB / 444 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006252/0.2888, allocations: 34 kB / 444 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.2905, allocations: 0.6976 MB / 444.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002974/0.2935, allocations: 1.012 MB / 445.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.2953, allocations: 0.6053 MB / 446.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002391/0.2977, allocations: 1.392 MB / 447.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.2979, allocations: 123.7 kB / 447.8 MB, free: 456 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.2983, allocations: 289.1 kB / 448.1 MB, free: 324 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.2987, allocations: 312 kB / 448.4 MB, free: 160 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.2987, allocations: 31.66 kB / 448.5 MB, free: 160 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.3006, allocations: 0.7534 MB / 449.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3008, allocations: 110 kB / 449.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.3012, allocations: 404.9 kB / 449.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.3032, allocations: 1.283 MB / 451 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3033, allocations: 1.984 kB / 451 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3033, allocations: 0 / 451 MB, free: 15.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.3033, allocations: 0 / 451 MB, free: 15.06 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.002272/0.3055, allocations: 1.354 MB / 452.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3056, allocations: 9.141 kB / 452.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.3057, allocations: 122 kB / 452.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.3068, allocations: 0.749 MB / 453.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.3068, allocations: 28.61 kB / 453.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.593e-05/0.3069, allocations: 24.38 kB / 453.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006529/0.3076, allocations: 316.5 kB / 453.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3076, allocations: 0 / 453.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.3076, allocations: 12.84 kB / 453.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.3076, allocations: 12.02 kB / 453.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.3083, allocations: 280.5 kB / 453.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.3103, allocations: 1.367 MB / 455.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.3111, allocations: 279.5 kB / 455.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004258/0.3115, allocations: 212.1 kB / 455.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00389/0.3154, allocations: 2.8 MB / 458.5 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004617/0.3158, allocations: 200.3 kB / 458.7 MB, free: 9.691 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.864e-06/0.3158, allocations: 3.938 kB / 458.7 MB, free: 9.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001512/0.3174, allocations: 0.6283 MB / 459.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.3174, allocations: 59.91 kB / 459.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009673/0.3184, allocations: 0.8061 MB / 460.2 MB, free: 8.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.3184, allocations: 37.55 kB / 460.3 MB, free: 8.934 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.3188, allocations: 448.8 kB / 460.7 MB, free: 8.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.3189, allocations: 110 kB / 460.8 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.319, allocations: 75.11 kB / 460.9 MB, free: 8.445 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3192, allocations: 328.7 kB / 461.2 MB, free: 8.129 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.3195, allocations: 119.3 kB / 461.3 MB, free: 8.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.3199, allocations: 211.5 kB / 461.5 MB, free: 7.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.3215, allocations: 0.7171 MB / 462.3 MB, free: 7.605 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3215, allocations: 1.156 kB / 462.3 MB, free: 7.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001065/0.3226, allocations: 0.5125 MB / 462.8 MB, free: 7.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3226, allocations: 9.781 kB / 462.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-05/0.3226, allocations: 40.64 kB / 462.8 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.3228, allocations: 27.98 kB / 462.8 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.3231, allocations: 85.8 kB / 462.9 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.3244, allocations: 1.449 MB / 464.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.3248, allocations: 42.55 kB / 464.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.3249, allocations: 19.05 kB / 464.4 MB, free: 5.867 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.0003504/0.3252, allocations: 206.4 kB / 464.6 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.3253, allocations: 112.7 kB / 464.7 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.3264, allocations: 484.5 kB / 465.2 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3264, allocations: 1.531 kB / 465.2 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3264, allocations: 2.531 kB / 465.2 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3264, allocations: 3.984 kB / 465.2 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007391/0.3272, allocations: 0.5874 MB / 465.8 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.261e-05/0.3272, allocations: 32.41 kB / 465.8 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.3275, allocations: 66.73 kB / 465.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.302e-05/0.3276, allocations: 25.59 kB / 465.9 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.3276, allocations: 13.36 kB / 466 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.3288, allocations: 1.443 MB / 467.4 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3288, allocations: 1.625 kB / 467.4 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.33, allocations: 0.6104 MB / 468 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/0.3302, allocations: 191 kB / 468.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.3303, allocations: 6.062 kB / 468.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.3306, allocations: 15.58 kB / 468.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.3306, allocations: 29.53 kB / 468.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.3307, allocations: 9.156 kB / 468.3 MB, free: 2.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006777/0.3313, allocations: 0.5488 MB / 468.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3313, allocations: 0 / 468.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007371/0.3321, allocations: 240.8 kB / 469 MB, free: 2.426 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.0006221/0.3327, allocations: 366.9 kB / 469.4 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009725/0.3337, allocations: 470.4 kB / 469.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3337, allocations: 0 / 469.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005038/0.3342, allocations: 318.1 kB / 470.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/0.3348, allocations: 116 kB / 470.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.3377, allocations: 1.74 MB / 472 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/0.3383, allocations: 0.958 MB / 473 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.3384, allocations: 45.81 kB / 473 MB, free: 15.82 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3384, allocations: 3.938 kB / 473 MB, free: 15.82 MB / 382.1 MB Notification: Performance of Templates: time 0.02153/0.3599, allocations: 14.1 MB / 487.1 MB, free: 4.355 MB / 382.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: 7.706220271997154] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.3684301138855517 0.381077705 0.07493118800000001 Calling exit ...