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.001811/0.001811, allocations: 118.4 kB / 18.41 MB, free: 4.668 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.002014/0.002014, allocations: 190.7 kB / 21.35 MB, free: 1.734 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.452/1.452, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.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.001529/0.001529, allocations: 51.91 kB / 358.7 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09792, allocations: 49.44 MB / 408.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006284/0.1042, allocations: 5.062 MB / 413.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.1169, allocations: 10.77 MB / 423.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006845/0.1176, allocations: 35.75 kB / 424 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.1194, allocations: 0.6943 MB / 424.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.1224, allocations: 1.002 MB / 425.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.1238, allocations: 0.6037 MB / 426.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001983/0.1258, allocations: 1.369 MB / 427.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.1261, allocations: 185.1 kB / 427.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.1264, allocations: 278.6 kB / 428.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.1268, allocations: 321.9 kB / 428.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.479e-05/0.1269, allocations: 32 kB / 428.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.1283, allocations: 0.7376 MB / 429.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.1284, allocations: 115.2 kB / 429.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003609/0.1288, allocations: 401.4 kB / 429.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1953/0.3241, allocations: 1.272 MB / 430.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.3242, allocations: 0 / 430.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3242, allocations: 0 / 430.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.056e-05/0.3242, allocations: 0 / 430.9 MB, free: 9.152 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.001667/0.3259, allocations: 1.363 MB / 432.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.326, allocations: 8.188 kB / 432.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.3261, allocations: 119.6 kB / 432.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008249/0.3269, allocations: 0.7495 MB / 433.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.327, allocations: 23.12 kB / 433.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/0.327, allocations: 35.3 kB / 433.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005771/0.3276, allocations: 321.8 kB / 433.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3276, allocations: 0 / 433.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.3277, allocations: 10.91 kB / 433.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.3277, allocations: 12.78 kB / 433.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006205/0.3283, allocations: 270.5 kB / 433.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.3301, allocations: 1.361 MB / 435.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006671/0.3308, allocations: 297.9 kB / 435.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/0.3312, allocations: 242.3 kB / 435.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003892/0.3351, allocations: 3.61 MB / 439.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005501/0.3357, allocations: 200.1 kB / 439.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.3357, allocations: 0 / 439.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001735/0.3374, allocations: 0.7224 MB / 440.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3375, allocations: 59.48 kB / 440.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.3386, allocations: 0.8172 MB / 441.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3386, allocations: 31.41 kB / 441.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/0.3389, allocations: 455.9 kB / 441.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.648e-05/0.339, allocations: 99.55 kB / 441.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.3392, allocations: 73.95 kB / 441.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.053e-05/0.3392, allocations: 325.1 kB / 442.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.3395, allocations: 116.6 kB / 442.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.3399, allocations: 230 kB / 442.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/0.3405, allocations: 366.3 kB / 442.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3405, allocations: 4.969 kB / 442.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001009/0.3416, allocations: 0.5231 MB / 443.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.3416, allocations: 7.031 kB / 443.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.318e-05/0.3417, allocations: 33.14 kB / 443.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.3419, allocations: 57.83 kB / 443.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.3423, allocations: 70.67 kB / 443.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.3439, allocations: 2.854 MB / 446.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.3442, allocations: 44.83 kB / 446.4 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.3443, allocations: 19.89 kB / 446.4 MB, free: 24 kB / 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.0003072/0.3446, allocations: 206.7 kB / 446.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.3447, allocations: 116 kB / 446.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.3458, allocations: 489.3 kB / 447.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3459, allocations: 2.75 kB / 447.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3459, allocations: 1.375 kB / 447.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3459, allocations: 5.5 kB / 447.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007461/0.3466, allocations: 0.5508 MB / 447.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.677e-05/0.3467, allocations: 36.08 kB / 447.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.347, allocations: 48.25 kB / 447.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001517/0.3471, allocations: 46.33 kB / 447.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.3472, allocations: 16.98 kB / 447.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.3496, allocations: 2.841 MB / 450.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3496, allocations: 0 / 450.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.3509, allocations: 0.6117 MB / 451.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.3511, allocations: 187.2 kB / 451.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.102e-05/0.3512, allocations: 15.78 kB / 451.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.3515, allocations: 16.25 kB / 451.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/0.3516, allocations: 23.61 kB / 451.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.3516, allocations: 13.36 kB / 451.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007578/0.3524, allocations: 0.5475 MB / 452.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3524, allocations: 0 / 452.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008242/0.3532, allocations: 243 kB / 452.4 MB, free: 12.37 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.0006579/0.3539, allocations: 367.1 kB / 452.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.355, allocations: 0.5909 MB / 453.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.355, allocations: 1.031 kB / 453.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.3556, allocations: 436.1 kB / 453.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.3562, allocations: 109.7 kB / 453.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.3588, allocations: 1.577 MB / 455.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.3594, allocations: 0.9543 MB / 456.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.3595, allocations: 49.38 kB / 456.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3595, allocations: 3.562 kB / 456.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of Templates: time 0.02252/0.382, allocations: 17.59 MB / 474 MB, free: 1.5 MB / 366.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.417939392966218] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.38885174598544836 0.401965491 0.075095957 Calling exit ...