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.001519/0.001519, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001969/0.001969, allocations: 213.3 kB / 24.48 MB, free: 3.957 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.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 7.734 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: 43.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.23, allocations: 53.37 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006131/0.2361, allocations: 4.487 MB / 436.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.2481, allocations: 9.318 MB / 446.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007285/0.2489, allocations: 43.56 kB / 446.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.2506, allocations: 0.6248 MB / 446.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.2535, allocations: 1.024 MB / 447.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.255, allocations: 0.6018 MB / 448.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002327/0.2574, allocations: 1.394 MB / 449.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.2576, allocations: 113.8 kB / 449.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.258, allocations: 298.6 kB / 450.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004066/0.2584, allocations: 325.8 kB / 450.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.2584, allocations: 32 kB / 450.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.2598, allocations: 0.7064 MB / 451.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.2599, allocations: 103.3 kB / 451.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003092/0.2602, allocations: 298.1 kB / 451.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.2618, allocations: 1.299 MB / 453 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2618, allocations: 0 / 453 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2618, allocations: 0 / 453 MB, free: 1.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.2618, allocations: 0 / 453 MB, free: 1.945 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.002025/0.2638, allocations: 1.274 MB / 454.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2639, allocations: 8.031 kB / 454.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.264, allocations: 120.2 kB / 454.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.2652, allocations: 0.6917 MB / 455.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.2652, allocations: 16.66 kB / 455.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.2653, allocations: 28 kB / 455.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/0.266, allocations: 321.9 kB / 455.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.266, allocations: 3.984 kB / 455.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.266, allocations: 8 kB / 455.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.2661, allocations: 11.94 kB / 455.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006586/0.2667, allocations: 282.5 kB / 455.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.2687, allocations: 1.202 MB / 456.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/0.2694, allocations: 276.7 kB / 457.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.2699, allocations: 220.7 kB / 457.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002992/0.2728, allocations: 1.322 MB / 458.7 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000461/0.2733, allocations: 207.2 kB / 458.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.164e-06/0.2733, allocations: 0 / 458.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.00147/0.2748, allocations: 0.5612 MB / 459.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.2748, allocations: 55.41 kB / 459.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/0.2758, allocations: 0.8025 MB / 460.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.2758, allocations: 29.7 kB / 460.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.2762, allocations: 436.9 kB / 460.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.2763, allocations: 119 kB / 460.9 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.2764, allocations: 69.98 kB / 461 MB, free: 9.668 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2766, allocations: 329.9 kB / 461.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.2769, allocations: 116.7 kB / 461.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.2772, allocations: 225.5 kB / 461.6 MB, free: 8.973 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.2789, allocations: 0.7039 MB / 462.3 MB, free: 8.227 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.2789, allocations: 4 kB / 462.3 MB, free: 8.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001001/0.2799, allocations: 0.5142 MB / 462.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2799, allocations: 4 kB / 462.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.198e-05/0.28, allocations: 40 kB / 462.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/0.2801, allocations: 41.09 kB / 462.9 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.2805, allocations: 87.78 kB / 463 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.2817, allocations: 1.308 MB / 464.3 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.282, allocations: 51.7 kB / 464.4 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.2821, allocations: 12 kB / 464.4 MB, free: 6.047 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.0003094/0.2824, allocations: 209.8 kB / 464.6 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.2825, allocations: 107.3 kB / 464.7 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.2836, allocations: 496 kB / 465.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2836, allocations: 3.938 kB / 465.2 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.2836, allocations: 4 kB / 465.2 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2836, allocations: 3.938 kB / 465.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.2842, allocations: 470.4 kB / 465.7 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-05/0.2842, allocations: 36 kB / 465.7 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.2846, allocations: 67.83 kB / 465.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.2847, allocations: 28.83 kB / 465.8 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.2847, allocations: 11.98 kB / 465.8 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.2858, allocations: 1.307 MB / 467.1 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2858, allocations: 0 / 467.1 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.287, allocations: 0.6186 MB / 467.7 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.2873, allocations: 111.2 kB / 467.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.593e-05/0.2873, allocations: 15.92 kB / 467.9 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.2876, allocations: 11.98 kB / 467.9 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.793e-05/0.2877, allocations: 27.95 kB / 467.9 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.2877, allocations: 12 kB / 467.9 MB, free: 2.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006627/0.2884, allocations: 0.5383 MB / 468.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2884, allocations: 0 / 468.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006294/0.289, allocations: 247.4 kB / 468.7 MB, free: 1.57 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.0006002/0.2896, allocations: 357.9 kB / 469 MB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009771/0.2906, allocations: 474.5 kB / 469.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2906, allocations: 0 / 469.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005311/0.2911, allocations: 316.2 kB / 469.8 MB, free: 416 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.2917, allocations: 130.7 kB / 469.9 MB, free: 288 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.2947, allocations: 1.709 MB / 471.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.295, allocations: 365.9 kB / 472 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.2951, allocations: 43.44 kB / 472 MB, free: 14.1 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2951, allocations: 0 / 472 MB, free: 14.1 MB / 382.1 MB Notification: Performance of Templates: time 0.01895/0.3141, allocations: 14.49 MB / 486.5 MB, free: 15.61 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: 7.9603140039835125] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.3228017110086512 0.337401208 0.072420967 Calling exit ...