Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 103.6 kB / 21.19 MB, free: 0.5156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 210.1 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 258.2 MB, free: 7.809 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 51.91 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2371, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.00646/0.2435, allocations: 4.487 MB / 436.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.2563, allocations: 9.31 MB / 446.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008008/0.2571, allocations: 43.5 kB / 446.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.2591, allocations: 0.6287 MB / 446.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003282/0.2624, allocations: 1.028 MB / 447.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.2642, allocations: 0.6018 MB / 448.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002591/0.2668, allocations: 1.386 MB / 449.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.267, allocations: 113.8 kB / 449.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004413/0.2675, allocations: 298.5 kB / 450.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003886/0.2679, allocations: 305.9 kB / 450.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.2679, allocations: 28 kB / 450.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.2695, allocations: 0.6673 MB / 451.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.2696, allocations: 115.3 kB / 451.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.27, allocations: 298 kB / 451.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.2718, allocations: 1.291 MB / 452.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2718, allocations: 0 / 452.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2718, allocations: 4 kB / 452.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.2718, allocations: 3.938 kB / 452.9 MB, free: 2.039 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.00218/0.274, allocations: 1.282 MB / 454.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.274, allocations: 11.97 kB / 454.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.2742, allocations: 124.2 kB / 454.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.2754, allocations: 0.6723 MB / 455 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.2754, allocations: 24.59 kB / 455 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.474e-05/0.2755, allocations: 27.98 kB / 455.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006682/0.2762, allocations: 318 kB / 455.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2762, allocations: 0 / 455.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.2762, allocations: 15.98 kB / 455.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.2762, allocations: 8 kB / 455.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006595/0.2769, allocations: 274.5 kB / 455.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.2789, allocations: 1.21 MB / 456.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007033/0.2796, allocations: 276.8 kB / 457.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/0.28, allocations: 216.8 kB / 457.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003109/0.2831, allocations: 1.307 MB / 458.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004852/0.2836, allocations: 219.1 kB / 458.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.755e-06/0.2836, allocations: 0 / 458.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001512/0.2851, allocations: 0.5535 MB / 459.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.2851, allocations: 55.41 kB / 459.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2862, allocations: 0.7986 MB / 460.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.2862, allocations: 37.69 kB / 460.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/0.2867, allocations: 440.8 kB / 460.7 MB, free: 9.961 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.2868, allocations: 115 kB / 460.9 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.2869, allocations: 74.02 kB / 460.9 MB, free: 9.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2871, allocations: 321.9 kB / 461.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.2874, allocations: 120.7 kB / 461.4 MB, free: 9.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.2878, allocations: 218.5 kB / 461.6 MB, free: 9.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.2895, allocations: 0.7156 MB / 462.3 MB, free: 8.324 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2895, allocations: 0 / 462.3 MB, free: 8.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001078/0.2906, allocations: 0.5105 MB / 462.8 MB, free: 7.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.2906, allocations: 8 kB / 462.8 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.184e-05/0.2907, allocations: 32 kB / 462.8 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.2908, allocations: 32.78 kB / 462.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.2912, allocations: 91.78 kB / 463 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.2925, allocations: 1.327 MB / 464.3 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.2928, allocations: 39.8 kB / 464.3 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.2929, allocations: 20 kB / 464.3 MB, free: 6.145 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.0003441/0.2932, allocations: 193.8 kB / 464.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.2933, allocations: 123.3 kB / 464.7 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.2945, allocations: 496.1 kB / 465.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2945, allocations: 4 kB / 465.1 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2945, allocations: 7.984 kB / 465.1 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.2945, allocations: 0 / 465.1 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/0.2951, allocations: 466.4 kB / 465.6 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.508e-05/0.2951, allocations: 36 kB / 465.6 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.2955, allocations: 55.89 kB / 465.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.26e-05/0.2956, allocations: 32.83 kB / 465.7 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.2956, allocations: 4 kB / 465.7 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.2967, allocations: 1.319 MB / 467 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.2967, allocations: 3.938 kB / 467.1 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.298, allocations: 0.6108 MB / 467.7 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.2982, allocations: 119.3 kB / 467.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.981e-05/0.2983, allocations: 7.938 kB / 467.8 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.2985, allocations: 19.92 kB / 467.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.2986, allocations: 31.89 kB / 467.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.2986, allocations: 8 kB / 467.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006697/0.2993, allocations: 0.5422 MB / 468.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2993, allocations: 0 / 468.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006789/0.3, allocations: 239.4 kB / 468.6 MB, free: 1.676 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.0006306/0.3006, allocations: 365.9 kB / 469 MB, free: 1.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.3016, allocations: 471.9 kB / 469.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.3016, allocations: 0.75 kB / 469.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.3022, allocations: 316.2 kB / 469.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.3027, allocations: 112.3 kB / 469.9 MB, free: 408 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.3058, allocations: 1.724 MB / 471.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.3062, allocations: 365.9 kB / 471.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.3063, allocations: 47.44 kB / 472 MB, free: 14.2 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3063, allocations: 4 kB / 472 MB, free: 14.2 MB / 382.1 MB Notification: Performance of Templates: time 0.0214/0.3277, allocations: 14.47 MB / 486.5 MB, free: 15.72 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.058209772221744] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.3365387856028974 0.35293602999999996 0.077645343 Calling exit ...