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.001496/0.001496, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.001555/0.001555, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.425/1.425, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.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.00154/0.00154, allocations: 47.92 kB / 371.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2424, allocations: 52.19 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.007039/0.2495, allocations: 5.1 MB / 429 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.2627, allocations: 10.83 MB / 439.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009046/0.2636, allocations: 39.56 kB / 439.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.2654, allocations: 0.6974 MB / 440.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.2688, allocations: 1.02 MB / 441.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.2706, allocations: 0.6137 MB / 442.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002834/0.2734, allocations: 1.382 MB / 443.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/0.2738, allocations: 113.8 kB / 443.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004738/0.2743, allocations: 298.6 kB / 444 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.2747, allocations: 325.9 kB / 444.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.126e-05/0.2747, allocations: 31.94 kB / 444.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.2764, allocations: 0.7414 MB / 445.1 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.2765, allocations: 107.3 kB / 445.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.2769, allocations: 405.4 kB / 445.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.2788, allocations: 1.276 MB / 446.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2788, allocations: 0 / 446.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2788, allocations: 0 / 446.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.2788, allocations: 0 / 446.8 MB, free: 7.625 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.002096/0.2809, allocations: 1.289 MB / 448.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.281, allocations: 15.95 kB / 448.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.2811, allocations: 120.2 kB / 448.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.2823, allocations: 0.6762 MB / 448.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.2823, allocations: 28.53 kB / 449 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.2824, allocations: 31.98 kB / 449 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.283, allocations: 318 kB / 449.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.283, allocations: 0 / 449.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.2831, allocations: 11.98 kB / 449.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.2831, allocations: 8 kB / 449.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006552/0.2837, allocations: 274.5 kB / 449.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.2858, allocations: 1.326 MB / 450.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/0.2865, allocations: 278.5 kB / 451.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.2869, allocations: 216.7 kB / 451.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003513/0.2904, allocations: 1.471 MB / 452.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004497/0.2909, allocations: 195.3 kB / 453.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.964e-06/0.2909, allocations: 0 / 453.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00158/0.2925, allocations: 0.5804 MB / 453.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.2925, allocations: 59.39 kB / 453.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009705/0.2935, allocations: 0.8076 MB / 454.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.2935, allocations: 33.7 kB / 454.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003888/0.2939, allocations: 452.8 kB / 455 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.501e-05/0.294, allocations: 103.1 kB / 455.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.2941, allocations: 74.03 kB / 455.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2943, allocations: 329.8 kB / 455.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.2946, allocations: 116.7 kB / 455.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.2949, allocations: 224 kB / 455.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/0.2956, allocations: 369.2 kB / 456.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2956, allocations: 0 / 456.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009891/0.2966, allocations: 0.5258 MB / 456.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.2966, allocations: 8 kB / 456.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-05/0.2967, allocations: 32 kB / 456.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.2969, allocations: 57.69 kB / 456.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.2972, allocations: 67.89 kB / 456.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.2994, allocations: 2.65 MB / 459.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.2997, allocations: 39.75 kB / 459.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.2998, allocations: 23.94 kB / 459.6 MB, free: 10.27 MB / 366.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.0002842/0.3001, allocations: 219.2 kB / 459.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.3002, allocations: 111.3 kB / 459.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.3013, allocations: 486 kB / 460.4 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3013, allocations: 0 / 460.4 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3013, allocations: 7.984 kB / 460.4 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3013, allocations: 0 / 460.4 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006195/0.3019, allocations: 0.5263 MB / 460.9 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.887e-05/0.302, allocations: 31.98 kB / 460.9 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.3022, allocations: 51.81 kB / 461 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.3024, allocations: 45.69 kB / 461 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.3024, allocations: 19.92 kB / 461 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.3044, allocations: 2.637 MB / 463.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3044, allocations: 0 / 463.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.3056, allocations: 0.6042 MB / 464.3 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.3059, allocations: 115.2 kB / 464.4 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/0.306, allocations: 11.98 kB / 464.4 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.3062, allocations: 15.98 kB / 464.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.3063, allocations: 31.95 kB / 464.5 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.3063, allocations: 12 kB / 464.5 MB, free: 5.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006647/0.307, allocations: 0.5467 MB / 465 MB, free: 4.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.307, allocations: 4 kB / 465 MB, free: 4.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000664/0.3076, allocations: 239.4 kB / 465.3 MB, free: 4.246 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.0005892/0.3082, allocations: 352.8 kB / 465.6 MB, free: 3.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.3093, allocations: 0.5737 MB / 466.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3093, allocations: 0 / 466.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.3099, allocations: 427 kB / 466.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.3105, allocations: 116.3 kB / 466.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.3131, allocations: 1.577 MB / 468.3 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.3137, allocations: 0.9561 MB / 469.2 MB, free: 128 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/0.3138, allocations: 43.44 kB / 469.3 MB, free: 84 kB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3138, allocations: 0 / 469.3 MB, free: 84 kB / 366.1 MB Notification: Performance of Templates: time 0.02282/0.3366, allocations: 17.62 MB / 486.9 MB, free: 14.45 MB / 398.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.374141223030165] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.3454621732234955 0.36007283799999995 0.078070472 Calling exit ...