Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001367/0.001367, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001879/0.001879, allocations: 200.8 kB / 25.24 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 207.6 MB / 236 MB, free: 10.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 52.44 kB / 348.4 MB, free: 9.648 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2902, allocations: 49.17 MB / 397.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005075/0.2953, allocations: 5.041 MB / 402.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.3056, allocations: 10.49 MB / 413.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009173/0.3065, allocations: 41.97 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.3085, allocations: 0.6906 MB / 413.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003535/0.312, allocations: 1.01 MB / 414.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.3142, allocations: 0.605 MB / 415.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002748/0.3169, allocations: 1.346 MB / 416.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002771/0.3172, allocations: 116.3 kB / 416.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004384/0.3176, allocations: 287.3 kB / 417.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.318, allocations: 322.8 kB / 417.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.3181, allocations: 31.97 kB / 417.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.3201, allocations: 0.6761 MB / 418.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.3202, allocations: 103.8 kB / 418.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005601/0.3208, allocations: 405.8 kB / 418.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.3231, allocations: 1.28 MB / 420 MB, free: 10.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.3232, allocations: 0 / 420 MB, free: 10.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3232, allocations: 0 / 420 MB, free: 10.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.3232, allocations: 1.156 kB / 420 MB, free: 10.24 MB / 334.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.002663/0.3258, allocations: 1.275 MB / 421.3 MB, free: 9.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.3259, allocations: 18.39 kB / 421.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.3261, allocations: 121.4 kB / 421.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.3274, allocations: 0.6765 MB / 422.1 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.3274, allocations: 28.66 kB / 422.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.3274, allocations: 23.84 kB / 422.2 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.3281, allocations: 321.6 kB / 422.5 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3281, allocations: 0.9062 kB / 422.5 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.3281, allocations: 13.81 kB / 422.5 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.3281, allocations: 6.625 kB / 422.5 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007071/0.3288, allocations: 280.8 kB / 422.8 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.331, allocations: 1.329 MB / 424.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.3317, allocations: 277.3 kB / 424.4 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.3321, allocations: 213.7 kB / 424.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003558/0.3356, allocations: 1.477 MB / 426.1 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004222/0.336, allocations: 191.7 kB / 426.2 MB, free: 5.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.265e-06/0.336, allocations: 1.344 kB / 426.2 MB, free: 5.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001562/0.3376, allocations: 0.5841 MB / 426.8 MB, free: 5.609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.3377, allocations: 55.19 kB / 426.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.3387, allocations: 0.8199 MB / 427.7 MB, free: 4.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.3387, allocations: 29.7 kB / 427.7 MB, free: 4.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/0.3391, allocations: 452.8 kB / 428.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.861e-05/0.3392, allocations: 103.1 kB / 428.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.3393, allocations: 73.98 kB / 428.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3395, allocations: 321.9 kB / 428.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.3398, allocations: 116.7 kB / 428.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.3402, allocations: 224.1 kB / 429 MB, free: 3.598 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/0.3409, allocations: 356.9 kB / 429.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3409, allocations: 0 / 429.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001095/0.342, allocations: 0.5253 MB / 429.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.342, allocations: 8.438 kB / 429.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-05/0.342, allocations: 39.98 kB / 429.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/0.3423, allocations: 53.69 kB / 430 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.3426, allocations: 75.83 kB / 430 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.3449, allocations: 2.645 MB / 432.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.3454, allocations: 43.72 kB / 432.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.3455, allocations: 20 kB / 432.8 MB, free: 15.55 MB / 350.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.0003483/0.3458, allocations: 213.6 kB / 433 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.346, allocations: 111.3 kB / 433.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.3471, allocations: 497.2 kB / 433.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.3471, allocations: 4 kB / 433.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3471, allocations: 0 / 433.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3471, allocations: 0 / 433.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008116/0.3479, allocations: 0.5301 MB / 434.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.924e-05/0.348, allocations: 32 kB / 434.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.3483, allocations: 43.95 kB / 434.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.3484, allocations: 49.69 kB / 434.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.3485, allocations: 11.94 kB / 434.2 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/0.3508, allocations: 2.637 MB / 436.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3508, allocations: 0 / 436.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.3521, allocations: 0.6041 MB / 437.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.3525, allocations: 115.2 kB / 437.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.3526, allocations: 4 kB / 437.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.3529, allocations: 15.98 kB / 437.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.353, allocations: 39.89 kB / 437.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.3531, allocations: 15.98 kB / 437.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008075/0.3539, allocations: 0.5467 MB / 438.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3539, allocations: 3.938 kB / 438.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008299/0.3547, allocations: 247.4 kB / 438.4 MB, free: 9.52 MB / 350.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.0007359/0.3554, allocations: 349.5 kB / 438.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.3567, allocations: 0.5651 MB / 439.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3567, allocations: 0.875 kB / 439.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006692/0.3573, allocations: 430.9 kB / 439.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/0.358, allocations: 92.33 kB / 439.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.3609, allocations: 1.583 MB / 441.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006672/0.3616, allocations: 0.9561 MB / 442.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3617, allocations: 51.44 kB / 442.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3617, allocations: 0 / 442.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of Templates: time 0.02556/0.3873, allocations: 17.61 MB / 460.1 MB, free: 3.727 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.438161463011056] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.3971377781126648 0.413013656 0.08628171300000001 Calling exit ...