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.001706/0.001706, allocations: 110.6 kB / 21.93 MB, free: 5.223 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.001881/0.001881, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.452/1.452, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.002168/0.002168, allocations: 59.86 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3049, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005254/0.3102, allocations: 4.423 MB / 402 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.3207, allocations: 9 MB / 411 MB, free: 220 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.3218, allocations: 41.41 kB / 411.1 MB, free: 192 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002049/0.3238, allocations: 0.5997 MB / 411.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004719/0.3285, allocations: 1.012 MB / 412.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.3314, allocations: 0.5997 MB / 413.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003369/0.3348, allocations: 1.356 MB / 414.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.3351, allocations: 112 kB / 414.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00047/0.3355, allocations: 291.4 kB / 415 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.336, allocations: 291.2 kB / 415.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.978e-05/0.336, allocations: 31.38 kB / 415.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.3377, allocations: 0.637 MB / 416 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.3378, allocations: 108.5 kB / 416.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003463/0.3381, allocations: 302.4 kB / 416.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.3399, allocations: 1.292 MB / 417.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.34, allocations: 4 kB / 417.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.34, allocations: 0 / 417.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.34, allocations: 0 / 417.7 MB, free: 12.54 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.002238/0.3422, allocations: 1.272 MB / 418.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3423, allocations: 13.52 kB / 419 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.3424, allocations: 121.4 kB / 419.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.3437, allocations: 0.6889 MB / 419.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.3437, allocations: 19.47 kB / 419.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/0.3438, allocations: 24.62 kB / 419.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007382/0.3445, allocations: 322.8 kB / 420.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3446, allocations: 0 / 420.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.3446, allocations: 10.34 kB / 420.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.3446, allocations: 6.469 kB / 420.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006696/0.3453, allocations: 292.1 kB / 420.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.3473, allocations: 1.208 MB / 421.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007031/0.348, allocations: 277.5 kB / 421.9 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/0.3484, allocations: 209 kB / 422.1 MB, free: 9.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003624/0.352, allocations: 1.439 MB / 423.5 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004348/0.3525, allocations: 197.5 kB / 423.7 MB, free: 8.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.834e-06/0.3525, allocations: 0 / 423.7 MB, free: 8.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001657/0.3541, allocations: 0.5757 MB / 424.3 MB, free: 8.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.3542, allocations: 62.77 kB / 424.4 MB, free: 8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.3553, allocations: 0.8076 MB / 425.2 MB, free: 7.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.3553, allocations: 29.7 kB / 425.2 MB, free: 7.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.3557, allocations: 452.7 kB / 425.7 MB, free: 6.828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.3558, allocations: 107.1 kB / 425.8 MB, free: 6.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.356, allocations: 66.03 kB / 425.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3561, allocations: 321.9 kB / 426.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.3564, allocations: 120.7 kB / 426.3 MB, free: 6.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.3568, allocations: 220 kB / 426.5 MB, free: 5.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006682/0.3575, allocations: 360.9 kB / 426.8 MB, free: 5.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3575, allocations: 0 / 426.8 MB, free: 5.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009954/0.3585, allocations: 0.5215 MB / 427.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3585, allocations: 7.938 kB / 427.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.218e-05/0.3585, allocations: 40.42 kB / 427.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.3588, allocations: 57.69 kB / 427.5 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.3591, allocations: 71.89 kB / 427.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.3613, allocations: 2.595 MB / 430.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.3617, allocations: 39.77 kB / 430.2 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.3618, allocations: 16 kB / 430.2 MB, free: 1.984 MB / 334.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.000306/0.3621, allocations: 205.7 kB / 430.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.3622, allocations: 111.3 kB / 430.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.3634, allocations: 0.5016 MB / 431 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3634, allocations: 0 / 431 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3634, allocations: 7.938 kB / 431 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3634, allocations: 4 kB / 431 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.364, allocations: 454.5 kB / 431.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/0.364, allocations: 28 kB / 431.5 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.3643, allocations: 47.89 kB / 431.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001426/0.3644, allocations: 45.69 kB / 431.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.3644, allocations: 12 kB / 431.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.3665, allocations: 2.595 MB / 434.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3665, allocations: 3.938 kB / 434.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.3677, allocations: 0.6041 MB / 434.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/0.368, allocations: 107.5 kB / 434.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.558e-05/0.3681, allocations: 8 kB / 434.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.3683, allocations: 7.984 kB / 434.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-05/0.3684, allocations: 39.88 kB / 434.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.3684, allocations: 12 kB / 434.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006975/0.3691, allocations: 0.5385 MB / 435.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3691, allocations: 7.938 kB / 435.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007518/0.3699, allocations: 239.4 kB / 435.7 MB, free: 12.13 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.0006413/0.3705, allocations: 367.8 kB / 436.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.3716, allocations: 0.5545 MB / 436.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3716, allocations: 7.875 kB / 436.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006156/0.3723, allocations: 423 kB / 437.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.3728, allocations: 96.45 kB / 437.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.3755, allocations: 1.575 MB / 438.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.3758, allocations: 365.3 kB / 439.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.3759, allocations: 51.36 kB / 439.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3759, allocations: 0 / 439.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of Templates: time 0.02477/0.4007, allocations: 18 MB / 457.1 MB, free: 6.539 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.657889210153371] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.4109611129388213 0.42531923499999996 0.082137157 Calling exit ...