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.001782/0.001782, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002053/0.002053, allocations: 209.2 kB / 24.49 MB, free: 3.965 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001661/0.001661, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2201, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006171/0.2263, allocations: 4.494 MB / 436.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.2389, allocations: 9.318 MB / 446.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000646/0.2396, allocations: 47.56 kB / 446.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.2414, allocations: 0.618 MB / 446.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.2443, allocations: 1.027 MB / 447.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.2458, allocations: 0.6018 MB / 448.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.248, allocations: 1.39 MB / 449.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.2482, allocations: 113.8 kB / 449.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.2486, allocations: 314.5 kB / 450.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.2489, allocations: 310 kB / 450.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.486e-05/0.249, allocations: 32 kB / 450.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.2504, allocations: 0.7064 MB / 451.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2505, allocations: 107.3 kB / 451.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003068/0.2508, allocations: 302 kB / 451.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.2524, allocations: 1.295 MB / 453 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2524, allocations: 4 kB / 453 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2524, allocations: 0 / 453 MB, free: 1.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.2524, allocations: 3.938 kB / 453 MB, free: 1.977 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.002093/0.2545, allocations: 1.274 MB / 454.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2546, allocations: 12.03 kB / 454.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.2547, allocations: 124.2 kB / 454.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.2559, allocations: 0.6684 MB / 455.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.256, allocations: 24.59 kB / 455.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.256, allocations: 28 kB / 455.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007111/0.2567, allocations: 322 kB / 455.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2567, allocations: 0 / 455.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.2568, allocations: 12 kB / 455.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.2568, allocations: 11.98 kB / 455.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.2575, allocations: 274.4 kB / 455.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.2595, allocations: 1.218 MB / 456.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006897/0.2602, allocations: 269.6 kB / 457.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.2606, allocations: 224.6 kB / 457.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002984/0.2636, allocations: 1.311 MB / 458.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004747/0.2641, allocations: 215.1 kB / 458.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.2641, allocations: 0 / 458.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001494/0.2656, allocations: 0.5536 MB / 459.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.2656, allocations: 55.41 kB / 459.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009619/0.2666, allocations: 0.8064 MB / 460.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.2666, allocations: 29.7 kB / 460.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.267, allocations: 440.8 kB / 460.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.2671, allocations: 119 kB / 460.9 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.2673, allocations: 70.03 kB / 461 MB, free: 9.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2674, allocations: 326 kB / 461.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.2677, allocations: 112.7 kB / 461.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.2681, allocations: 218.6 kB / 461.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.2698, allocations: 0.7156 MB / 462.3 MB, free: 8.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2698, allocations: 0 / 462.3 MB, free: 8.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001012/0.2709, allocations: 0.5142 MB / 462.9 MB, free: 7.742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2709, allocations: 8 kB / 462.9 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.098e-05/0.2709, allocations: 36 kB / 462.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001296/0.2711, allocations: 36.78 kB / 462.9 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.2715, allocations: 87.78 kB / 463 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.2727, allocations: 1.327 MB / 464.4 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.273, allocations: 35.77 kB / 464.4 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.2731, allocations: 20 kB / 464.4 MB, free: 6.082 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.0003124/0.2734, allocations: 201.8 kB / 464.6 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.2735, allocations: 123.2 kB / 464.7 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.2746, allocations: 484.2 kB / 465.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2746, allocations: 11.98 kB / 465.2 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.119e-05/0.2747, allocations: 36 kB / 465.2 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.2749, allocations: 107.2 kB / 465.4 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/0.275, allocations: 8 kB / 465.4 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.2753, allocations: 15.92 kB / 465.4 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/0.2754, allocations: 31.89 kB / 465.4 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001235/0.2766, allocations: 471 kB / 465.9 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001298/0.2779, allocations: 0.7384 MB / 466.6 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000318/0.2782, allocations: 127.9 kB / 466.7 MB, free: 3.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006925/0.2789, allocations: 0.5344 MB / 467.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of Backend: time 4.71e-07/0.2789, allocations: 0 / 467.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.2808, allocations: 0.7999 MB / 468.1 MB, free: 2.352 MB / 366.1 MB Notification: Performance of SimCode: time 0.002561/0.2834, allocations: 2.015 MB / 470.1 MB, free: 288 kB / 366.1 MB Notification: Performance of Templates: time 0.02128/0.3046, allocations: 11.46 MB / 481.5 MB, free: 4.863 MB / 382.1 MB " [Timeout remaining time 660] 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 -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: 4.597842593997484] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.31276317999436287 0.327438535 0.07186259 Calling exit ...