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.001365/0.001365, 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.00162/0.00162, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.685/1.685, 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.001676/0.001676, allocations: 47.92 kB / 379 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4303, allocations: 53.37 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005888/0.4361, allocations: 4.487 MB / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.4502, allocations: 9.314 MB / 446.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009712/0.4512, allocations: 43.56 kB / 446.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.4538, allocations: 0.6199 MB / 446.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004927/0.4587, allocations: 1.036 MB / 447.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.4617, allocations: 0.6018 MB / 448.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003486/0.4652, allocations: 1.394 MB / 449.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003353/0.4655, allocations: 109.8 kB / 449.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.4661, allocations: 306.6 kB / 450.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005266/0.4666, allocations: 317.9 kB / 450.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.835e-05/0.4667, allocations: 32 kB / 450.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.4691, allocations: 0.7103 MB / 451.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.4693, allocations: 103.3 kB / 451.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004536/0.4697, allocations: 302 kB / 451.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.4723, allocations: 1.295 MB / 453 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4724, allocations: 3.938 kB / 453 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4724, allocations: 0 / 453 MB, free: 2.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.4724, allocations: 0 / 453 MB, free: 2.012 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.002931/0.4753, allocations: 1.278 MB / 454.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.4754, allocations: 8.031 kB / 454.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.4755, allocations: 124.2 kB / 454.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.4771, allocations: 0.6762 MB / 455.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.4771, allocations: 20.59 kB / 455.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.4772, allocations: 28 kB / 455.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008877/0.4781, allocations: 322 kB / 455.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.4781, allocations: 0 / 455.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.4781, allocations: 8 kB / 455.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.4782, allocations: 15.92 kB / 455.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009157/0.4791, allocations: 274.5 kB / 455.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.4819, allocations: 1.206 MB / 456.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/0.4827, allocations: 274.6 kB / 457.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/0.4831, allocations: 216.8 kB / 457.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003228/0.4863, allocations: 1.314 MB / 458.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005332/0.4869, allocations: 211.2 kB / 458.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.795e-06/0.4869, allocations: 0 / 458.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001563/0.4884, allocations: 0.5573 MB / 459.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.4885, allocations: 59.41 kB / 459.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.4895, allocations: 0.7986 MB / 460.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.4896, allocations: 29.7 kB / 460.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004541/0.49, allocations: 440.8 kB / 460.8 MB, free: 9.941 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.4901, allocations: 119 kB / 460.9 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.4903, allocations: 70.03 kB / 461 MB, free: 9.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4905, allocations: 329.9 kB / 461.3 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.4908, allocations: 120.7 kB / 461.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.4912, allocations: 218.5 kB / 461.6 MB, free: 9.055 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.4929, allocations: 0.7039 MB / 462.3 MB, free: 8.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.4929, allocations: 4 kB / 462.3 MB, free: 8.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001252/0.4941, allocations: 0.5142 MB / 462.9 MB, free: 7.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4941, allocations: 4 kB / 462.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.23e-05/0.4942, allocations: 36.38 kB / 462.9 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.4944, allocations: 44.77 kB / 462.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.4948, allocations: 83.78 kB / 463 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.4963, allocations: 1.323 MB / 464.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.4967, allocations: 43.75 kB / 464.4 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.4967, allocations: 24 kB / 464.4 MB, free: 6.113 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.0004792/0.4972, allocations: 197.8 kB / 464.6 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.4974, allocations: 115.2 kB / 464.7 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.4986, allocations: 496.2 kB / 465.2 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4986, allocations: 7.938 kB / 465.2 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.4986, allocations: 0 / 465.2 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.4986, allocations: 3.984 kB / 465.2 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007638/0.4993, allocations: 474.4 kB / 465.7 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.329e-05/0.4994, allocations: 32 kB / 465.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.4997, allocations: 59.89 kB / 465.8 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/0.4998, allocations: 28.84 kB / 465.8 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.4999, allocations: 11.98 kB / 465.8 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.501, allocations: 1.315 MB / 467.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.501, allocations: 3.938 kB / 467.1 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.5023, allocations: 0.6125 MB / 467.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.5026, allocations: 115.2 kB / 467.8 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.04e-05/0.5027, allocations: 11.94 kB / 467.9 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.5029, allocations: 15.98 kB / 467.9 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.5031, allocations: 27.95 kB / 467.9 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.5031, allocations: 12 kB / 467.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000782/0.5039, allocations: 0.5344 MB / 468.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5039, allocations: 0 / 468.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007855/0.5047, allocations: 247.4 kB / 468.7 MB, free: 1.645 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.00074/0.5054, allocations: 357.8 kB / 469 MB, free: 1.289 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.5065, allocations: 472.5 kB / 469.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5065, allocations: 0 / 469.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005631/0.5071, allocations: 312.2 kB / 469.8 MB, free: 496 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.5077, allocations: 117 kB / 469.9 MB, free: 380 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.5109, allocations: 1.68 MB / 471.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.5113, allocations: 365.9 kB / 472 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002747/0.5116, allocations: 89.19 kB / 472 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.594e-05/0.5117, allocations: 43.44 kB / 472.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5117, allocations: 0 / 472.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of Templates: time 0.01997/0.5317, allocations: 9.429 MB / 481.5 MB, free: 4.777 MB / 382.1 MB " [Timeout remaining time 659] 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 cvode -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: 5.646904502005782] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.5416073250089539 0.556924477 0.080833111 Calling exit ...