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.001569/0.001569, allocations: 107 kB / 21.18 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.001968/0.001968, allocations: 215.5 kB / 24.48 MB, free: 3.938 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.001551/0.001551, allocations: 55.92 kB / 379 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2235, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005749/0.2292, allocations: 4.494 MB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.2408, allocations: 9.318 MB / 446.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005268/0.2413, allocations: 39.56 kB / 446.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.243, allocations: 0.62 MB / 446.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.2455, allocations: 1.036 MB / 447.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.2471, allocations: 0.5979 MB / 448.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.2491, allocations: 1.386 MB / 449.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.2493, allocations: 117.8 kB / 449.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003863/0.2497, allocations: 302.5 kB / 450.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.2501, allocations: 317.9 kB / 450.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.2502, allocations: 32 kB / 450.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.2515, allocations: 0.7064 MB / 451.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.2516, allocations: 115.3 kB / 451.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.2519, allocations: 302 kB / 451.7 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.2535, allocations: 1.288 MB / 453 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2535, allocations: 3.938 kB / 453 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2535, allocations: 0 / 453 MB, free: 1.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.2535, allocations: 0 / 453 MB, free: 1.992 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.001997/0.2555, allocations: 1.278 MB / 454.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.2555, allocations: 15.97 kB / 454.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.2556, allocations: 124.2 kB / 454.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.2568, allocations: 0.6762 MB / 455.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.2568, allocations: 24.59 kB / 455.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/0.2569, allocations: 24 kB / 455.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.2575, allocations: 322 kB / 455.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2575, allocations: 0 / 455.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.2576, allocations: 8 kB / 455.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.2576, allocations: 15.98 kB / 455.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000683/0.2583, allocations: 274.5 kB / 455.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.2602, allocations: 1.206 MB / 456.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006969/0.2609, allocations: 270.6 kB / 457.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/0.2613, allocations: 216.8 kB / 457.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002938/0.2643, allocations: 1.311 MB / 458.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000466/0.2647, allocations: 211.2 kB / 458.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.424e-06/0.2647, allocations: 0 / 458.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001502/0.2662, allocations: 0.5612 MB / 459.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.2663, allocations: 55.41 kB / 459.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009268/0.2672, allocations: 0.7986 MB / 460.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.2672, allocations: 33.7 kB / 460.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/0.2676, allocations: 440.8 kB / 460.8 MB, free: 9.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.2677, allocations: 115 kB / 460.9 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.2678, allocations: 70.03 kB / 461 MB, free: 9.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.268, allocations: 325.9 kB / 461.3 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.2683, allocations: 124.7 kB / 461.4 MB, free: 9.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.2687, allocations: 218.5 kB / 461.6 MB, free: 9.035 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.2704, allocations: 0.7117 MB / 462.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.2704, allocations: 4 kB / 462.3 MB, free: 8.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001014/0.2714, allocations: 0.5103 MB / 462.9 MB, free: 7.758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2714, allocations: 8.375 kB / 462.9 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.804e-05/0.2715, allocations: 36 kB / 462.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.2716, allocations: 36.78 kB / 462.9 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.272, allocations: 87.78 kB / 463 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.2732, allocations: 1.323 MB / 464.3 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.2735, allocations: 43.86 kB / 464.4 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.2736, allocations: 23.94 kB / 464.4 MB, free: 6.09 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.0003076/0.2739, allocations: 193.8 kB / 464.6 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.274, allocations: 115.2 kB / 464.7 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.2751, allocations: 496.1 kB / 465.2 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2751, allocations: 4 kB / 465.2 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2751, allocations: 0 / 465.2 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2751, allocations: 3.984 kB / 465.2 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.2757, allocations: 470.4 kB / 465.7 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.302e-05/0.2757, allocations: 36 kB / 465.7 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.2761, allocations: 59.89 kB / 465.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.302e-05/0.2762, allocations: 32.83 kB / 465.8 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.2762, allocations: 8 kB / 465.8 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.2772, allocations: 1.311 MB / 467.1 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2773, allocations: 3.938 kB / 467.1 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.2785, allocations: 0.6125 MB / 467.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.2787, allocations: 119.4 kB / 467.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.72e-05/0.2788, allocations: 7.938 kB / 467.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.2791, allocations: 15.98 kB / 467.9 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.2792, allocations: 39.88 kB / 467.9 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.2792, allocations: 8 kB / 467.9 MB, free: 2.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006451/0.2798, allocations: 0.5383 MB / 468.4 MB, free: 1.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2798, allocations: 0 / 468.4 MB, free: 1.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000624/0.2805, allocations: 243.4 kB / 468.7 MB, free: 1.625 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.0005893/0.281, allocations: 361.3 kB / 469 MB, free: 1.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009881/0.282, allocations: 468.5 kB / 469.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.282, allocations: 0 / 469.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.2826, allocations: 313 kB / 469.8 MB, free: 480 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.2831, allocations: 120.2 kB / 469.9 MB, free: 360 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.2861, allocations: 1.687 MB / 471.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.2864, allocations: 361.9 kB / 472 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002476/0.2867, allocations: 89.19 kB / 472 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.954e-05/0.2868, allocations: 43.44 kB / 472.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2868, allocations: 0 / 472.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01782/0.3046, allocations: 9.417 MB / 481.5 MB, free: 4.758 MB / 382.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 -s gbode -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: 4.608804866002174] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.3126947380078491 0.32728716199999996 0.070767286 Calling exit ...