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: 112.2 kB / 21.19 MB, free: 0.7812 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.001742/0.001742, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.398/1.398, allocations: 230.6 MB / 258.2 MB, free: 8.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+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.001506/0.001506, allocations: 47.92 kB / 379 MB, free: 2.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2185, allocations: 53.36 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006118/0.2246, allocations: 5.117 MB / 437.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.237, allocations: 10.85 MB / 448.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006626/0.2377, allocations: 47.5 kB / 448.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.2395, allocations: 0.7052 MB / 449.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002867/0.2423, allocations: 1.016 MB / 450.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.2438, allocations: 0.6137 MB / 450.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002097/0.2459, allocations: 1.398 MB / 452.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.2461, allocations: 109.8 kB / 452.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.2465, allocations: 306.6 kB / 452.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.2469, allocations: 317.9 kB / 452.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.2469, allocations: 32 kB / 452.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.2484, allocations: 0.7493 MB / 453.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.807e-05/0.2485, allocations: 115.2 kB / 453.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.2489, allocations: 401.4 kB / 454.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.2506, allocations: 1.28 MB / 455.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2506, allocations: 0 / 455.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2506, allocations: 4 kB / 455.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.2506, allocations: 0 / 455.4 MB, free: 15.79 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.002015/0.2526, allocations: 1.27 MB / 456.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2526, allocations: 8.031 kB / 456.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.2528, allocations: 128.2 kB / 456.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.2538, allocations: 0.6762 MB / 457.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.2539, allocations: 24.59 kB / 457.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.2539, allocations: 24 kB / 457.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.2546, allocations: 325.9 kB / 457.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2546, allocations: 4 kB / 457.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.2546, allocations: 12 kB / 457.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.2546, allocations: 7.984 kB / 457.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006277/0.2553, allocations: 278.5 kB / 458.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.2572, allocations: 1.33 MB / 459.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.2579, allocations: 270.5 kB / 459.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/0.2583, allocations: 220.7 kB / 460 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002818/0.2611, allocations: 1.35 MB / 461.3 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004324/0.2616, allocations: 208.9 kB / 461.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.2616, allocations: 0 / 461.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001419/0.263, allocations: 0.5614 MB / 462.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.263, allocations: 59.41 kB / 462.1 MB, free: 8.828 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/0.2639, allocations: 0.8033 MB / 463 MB, free: 8.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.264, allocations: 37.7 kB / 463 MB, free: 7.965 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004638/0.2644, allocations: 444.9 kB / 463.4 MB, free: 7.527 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.757e-05/0.2645, allocations: 119 kB / 463.5 MB, free: 7.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.2646, allocations: 69.98 kB / 463.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2648, allocations: 329.9 kB / 463.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.2651, allocations: 120.7 kB / 464 MB, free: 6.891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.2655, allocations: 210.6 kB / 464.3 MB, free: 6.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.267, allocations: 0.712 MB / 465 MB, free: 5.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.267, allocations: 0 / 465 MB, free: 5.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009969/0.268, allocations: 0.5178 MB / 465.5 MB, free: 5.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.268, allocations: 6.5 kB / 465.5 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.969e-05/0.2681, allocations: 40.38 kB / 465.5 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/0.2682, allocations: 32.84 kB / 465.6 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.2686, allocations: 83.88 kB / 465.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.2698, allocations: 1.342 MB / 467 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.2701, allocations: 43.75 kB / 467 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.2701, allocations: 23.98 kB / 467.1 MB, free: 3.676 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.0002948/0.2704, allocations: 209.4 kB / 467.3 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.2705, allocations: 115.3 kB / 467.4 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.2716, allocations: 496.3 kB / 467.9 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2716, allocations: 4 kB / 467.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2716, allocations: 0 / 467.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2716, allocations: 0 / 467.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/0.2723, allocations: 0.5569 MB / 468.4 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.991e-05/0.2724, allocations: 35.98 kB / 468.4 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.2727, allocations: 55.95 kB / 468.5 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.283e-05/0.2728, allocations: 28.84 kB / 468.5 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.2728, allocations: 15.98 kB / 468.5 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.2739, allocations: 1.342 MB / 469.9 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2739, allocations: 0 / 469.9 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.2751, allocations: 0.615 MB / 470.5 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.2753, allocations: 103.5 kB / 470.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.916e-05/0.2754, allocations: 8 kB / 470.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.2756, allocations: 19.97 kB / 470.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/0.2757, allocations: 23.97 kB / 470.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.2757, allocations: 11.98 kB / 470.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006434/0.2764, allocations: 0.5465 MB / 471.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2764, allocations: 0 / 471.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005923/0.2769, allocations: 247.4 kB / 471.5 MB, free: 15.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.0005727/0.2775, allocations: 356.9 kB / 471.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009369/0.2785, allocations: 472.5 kB / 472.3 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2785, allocations: 0 / 472.3 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005/0.279, allocations: 315.9 kB / 472.6 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.2795, allocations: 116.8 kB / 472.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.2825, allocations: 1.739 MB / 474.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.2831, allocations: 0.9528 MB / 475.4 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.2832, allocations: 47.44 kB / 475.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2832, allocations: 0 / 475.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01959/0.3028, allocations: 14.08 MB / 489.5 MB, free: 12.9 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.598015864845365] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.311097911093384 0.326147907 0.072237933 Calling exit ...