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.001473/0.001473, allocations: 113 kB / 21.18 MB, free: 0.582 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.001622/0.001622, allocations: 209.7 kB / 24.47 MB, free: 3.984 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.401/1.401, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.001942/0.001942, allocations: 67.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2343, allocations: 53.31 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006228/0.2405, allocations: 5.12 MB / 437.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.2528, allocations: 10.85 MB / 448 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007148/0.2535, allocations: 27.81 kB / 448 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.2554, allocations: 0.7039 MB / 448.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.2586, allocations: 1.022 MB / 449.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.2602, allocations: 0.6076 MB / 450.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002269/0.2625, allocations: 1.389 MB / 451.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.2628, allocations: 117.2 kB / 451.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/0.2632, allocations: 282.6 kB / 452.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004045/0.2636, allocations: 325.8 kB / 452.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/0.2636, allocations: 32 kB / 452.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.2653, allocations: 0.7454 MB / 453.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.2654, allocations: 111.3 kB / 453.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.2657, allocations: 401.4 kB / 453.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.2674, allocations: 1.276 MB / 455 MB, free: 296 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2674, allocations: 0 / 455 MB, free: 296 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2674, allocations: 0 / 455 MB, free: 296 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.2674, allocations: 0 / 455 MB, free: 296 kB / 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.002118/0.2696, allocations: 1.361 MB / 456.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2696, allocations: 8.031 kB / 456.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.2697, allocations: 120.2 kB / 456.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.2708, allocations: 0.7559 MB / 457.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.2708, allocations: 20.5 kB / 457.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.2709, allocations: 28 kB / 457.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006244/0.2715, allocations: 317.3 kB / 457.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.2715, allocations: 7.875 kB / 457.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.2716, allocations: 16 kB / 457.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.2716, allocations: 11.98 kB / 457.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.2722, allocations: 274.2 kB / 457.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.2742, allocations: 1.361 MB / 459.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.2748, allocations: 286.5 kB / 459.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.2753, allocations: 209.7 kB / 459.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003514/0.2788, allocations: 2.802 MB / 462.6 MB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004305/0.2792, allocations: 207.2 kB / 462.8 MB, free: 7.934 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.953e-06/0.2792, allocations: 0 / 462.8 MB, free: 7.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.00147/0.2807, allocations: 0.6393 MB / 463.4 MB, free: 7.266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.2807, allocations: 59.34 kB / 463.5 MB, free: 7.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/0.2817, allocations: 0.8111 MB / 464.3 MB, free: 6.367 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.2817, allocations: 25.7 kB / 464.3 MB, free: 6.336 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.2821, allocations: 448.9 kB / 464.7 MB, free: 5.895 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.748e-05/0.2822, allocations: 111.1 kB / 464.9 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.2823, allocations: 81.97 kB / 464.9 MB, free: 5.699 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2824, allocations: 321.9 kB / 465.2 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.2827, allocations: 116.7 kB / 465.4 MB, free: 5.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.2831, allocations: 218.6 kB / 465.6 MB, free: 5.016 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.2847, allocations: 0.7117 MB / 466.3 MB, free: 4.262 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2847, allocations: 0 / 466.3 MB, free: 4.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009644/0.2856, allocations: 0.51 MB / 466.8 MB, free: 3.742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2857, allocations: 8 kB / 466.8 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.24e-05/0.2857, allocations: 40 kB / 466.8 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.2858, allocations: 28.84 kB / 466.9 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.2862, allocations: 88.22 kB / 467 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.2874, allocations: 1.453 MB / 468.4 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.2877, allocations: 39.77 kB / 468.5 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.2878, allocations: 16 kB / 468.5 MB, free: 1.926 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.0003214/0.2881, allocations: 212 kB / 468.7 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.2882, allocations: 111.3 kB / 468.8 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.2893, allocations: 488.3 kB / 469.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2893, allocations: 11.94 kB / 469.3 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2893, allocations: 0 / 469.3 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.2893, allocations: 3.984 kB / 469.3 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000631/0.2899, allocations: 0.5812 MB / 469.9 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.274e-05/0.29, allocations: 36 kB / 469.9 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.2903, allocations: 51.95 kB / 469.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.437e-05/0.2904, allocations: 28.83 kB / 470 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.2904, allocations: 8 kB / 470 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.2915, allocations: 1.449 MB / 471.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2915, allocations: 0 / 471.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.2927, allocations: 0.6158 MB / 472 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.293, allocations: 188.4 kB / 472.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-05/0.293, allocations: 4 kB / 472.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.2933, allocations: 15.98 kB / 472.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.2934, allocations: 23.97 kB / 472.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.2934, allocations: 15.98 kB / 472.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006469/0.294, allocations: 0.5426 MB / 472.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.294, allocations: 0 / 472.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005937/0.2946, allocations: 247.4 kB / 473.1 MB, free: 13.06 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.0005679/0.2952, allocations: 363.9 kB / 473.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009678/0.2962, allocations: 473.5 kB / 473.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2962, allocations: 3.938 kB / 473.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005085/0.2967, allocations: 319 kB / 474.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.2972, allocations: 120.3 kB / 474.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.3001, allocations: 1.734 MB / 476.1 MB, free: 9.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.3006, allocations: 0.9528 MB / 477 MB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.3007, allocations: 51.44 kB / 477.1 MB, free: 8.961 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3007, allocations: 0 / 477.1 MB, free: 8.961 MB / 382.1 MB Notification: Performance of Templates: time 0.01873/0.3195, allocations: 14.09 MB / 491.1 MB, free: 10.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: 7.693985414225608] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.32851081108674407 0.34203314500000004 0.07147022900000001 Calling exit ...