Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 187 kB / 24.45 MB, free: 3.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 51.91 kB / 371.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2813, allocations: 52.18 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006196/0.2875, allocations: 4.478 MB / 428.3 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.3003, allocations: 9.287 MB / 437.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009281/0.3012, allocations: 47.5 kB / 437.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.3032, allocations: 0.6093 MB / 438.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003406/0.3067, allocations: 1.028 MB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.3083, allocations: 0.594 MB / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002287/0.3106, allocations: 1.378 MB / 441.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.3108, allocations: 113.7 kB / 441.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.3112, allocations: 302.5 kB / 441.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.3116, allocations: 290 kB / 441.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.364e-05/0.3117, allocations: 35.98 kB / 442 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.3131, allocations: 0.6634 MB / 442.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.3132, allocations: 107.3 kB / 442.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003109/0.3135, allocations: 309.9 kB / 443 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.3152, allocations: 1.292 MB / 444.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3152, allocations: 0 / 444.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3152, allocations: 0 / 444.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.3153, allocations: 0 / 444.3 MB, free: 9.859 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.002045/0.3173, allocations: 1.285 MB / 445.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3173, allocations: 12.03 kB / 445.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.3175, allocations: 124.2 kB / 445.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.3187, allocations: 0.68 MB / 446.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.3187, allocations: 24.59 kB / 446.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.248e-05/0.3188, allocations: 32 kB / 446.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.3194, allocations: 318 kB / 446.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3194, allocations: 0 / 446.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.3195, allocations: 8 kB / 446.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.3195, allocations: 11.98 kB / 446.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006571/0.3201, allocations: 278.4 kB / 447.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.3221, allocations: 1.206 MB / 448.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007056/0.3228, allocations: 274.5 kB / 448.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/0.3232, allocations: 216.8 kB / 448.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003447/0.3267, allocations: 1.435 MB / 450.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004335/0.3271, allocations: 195.2 kB / 450.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.254e-06/0.3271, allocations: 0 / 450.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00163/0.3287, allocations: 0.5804 MB / 451 MB, free: 2.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.3288, allocations: 55.41 kB / 451 MB, free: 2.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3299, allocations: 0.8068 MB / 451.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.3299, allocations: 29.7 kB / 451.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004894/0.3304, allocations: 452.7 kB / 452.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.3305, allocations: 103.1 kB / 452.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.3306, allocations: 77.98 kB / 452.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.3309, allocations: 321.9 kB / 452.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.3312, allocations: 120.7 kB / 452.9 MB, free: 1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.3316, allocations: 228 kB / 453.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/0.3323, allocations: 357 kB / 453.5 MB, free: 348 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.3323, allocations: 0 / 453.5 MB, free: 348 kB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001033/0.3333, allocations: 0.526 MB / 454 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3333, allocations: 7.938 kB / 454 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.806e-05/0.3334, allocations: 35.98 kB / 454.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.3336, allocations: 61.69 kB / 454.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.3339, allocations: 67.89 kB / 454.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.3363, allocations: 2.596 MB / 456.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.3367, allocations: 43.72 kB / 456.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.3367, allocations: 20 kB / 456.8 MB, free: 12.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000309/0.337, allocations: 205.8 kB / 457 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.3371, allocations: 111.3 kB / 457.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.3383, allocations: 485.7 kB / 457.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.3383, allocations: 7.938 kB / 457.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3383, allocations: 0 / 457.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3383, allocations: 0 / 457.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.3389, allocations: 474.3 kB / 458.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.022e-05/0.339, allocations: 32 kB / 458.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.3392, allocations: 43.89 kB / 458.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/0.3394, allocations: 53.69 kB / 458.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.3394, allocations: 7.984 kB / 458.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.3416, allocations: 2.599 MB / 460.8 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3416, allocations: 0 / 460.8 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.3429, allocations: 0.6042 MB / 461.4 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.3431, allocations: 115.2 kB / 461.5 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.3432, allocations: 0 / 461.5 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.3434, allocations: 16.05 kB / 461.6 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.3435, allocations: 31.95 kB / 461.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.3435, allocations: 16 kB / 461.6 MB, free: 7.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007879/0.3443, allocations: 0.5424 MB / 462.1 MB, free: 7.145 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3443, allocations: 0 / 462.1 MB, free: 7.145 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006943/0.345, allocations: 239.4 kB / 462.4 MB, free: 6.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * 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 (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0006052/0.3456, allocations: 364 kB / 462.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.3468, allocations: 0.5652 MB / 463.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3468, allocations: 4.812 kB / 463.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000686/0.3475, allocations: 420.9 kB / 463.7 MB, free: 5.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.3481, allocations: 112.3 kB / 463.8 MB, free: 5.395 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.3507, allocations: 1.572 MB / 465.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.3512, allocations: 369.3 kB / 465.8 MB, free: 3.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.801e-05/0.3513, allocations: 47.38 kB / 465.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3513, allocations: 0 / 465.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of Templates: time 0.02493/0.3762, allocations: 18 MB / 483.8 MB, free: 1.34 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.369493319652975] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.38552976911887527 0.40080032699999996 0.08235204 Calling exit ...